1
0
Fork 0

Exit with unhandled opcode if not running debug version

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@1325
This commit is contained in:
Sjoerd van der Berg 2003-10-14 20:25:32 +00:00
parent fea1635867
commit 91fa140b2c

View file

@ -181,7 +181,11 @@ restart_opcode:
#include "core_normal/prefix_66_0f.h"
default:
ADDIPFAST(-1);
#if C_DEBUG
LOG_MSG("Unhandled code %X",core.opcode_index+Fetchb());
#else
E_Exit("Unhandled CPU opcode");
#endif
}
}
decode_end: