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:
parent
fea1635867
commit
91fa140b2c
1 changed files with 4 additions and 0 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue