fixed typo in Disassembler

This commit is contained in:
georgemoralis 2023-05-30 13:39:08 +03:00
parent dfc234f363
commit 5a72e51f4e
1 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,9 @@ void Disassembler::printInstruction(void* code)//print a single instruction
if (!ZYAN_SUCCESS(status)) if (!ZYAN_SUCCESS(status))
{ {
printf("decode instruction failed at %p\n", code); printf("decode instruction failed at %p\n", code);
}
else
{
printInst(instruction, operands); printInst(instruction, operands);
} }
} }