fix for new disasm
This commit is contained in:
parent
1fb03a6f5b
commit
cef6c7fb98
@ -509,7 +509,7 @@ char* disasm(char *disbufptr, const bxInstruction_c *i, bx_address cs_base, bx_a
|
||||
}
|
||||
#endif
|
||||
|
||||
if (i->execute1 == &BX_CPU_C::BxError) {
|
||||
if (i->getIaOpcode() == BX_IA_ERROR || i->execute1 == &BX_CPU_C::BxError) {
|
||||
disbufptr = dis_sprintf(disbufptr, "(invalid)");
|
||||
return disbufptr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user