workaround idledet breaking op test

This commit is contained in:
notaz 2017-09-20 23:39:20 +03:00
parent c6e1e9779a
commit 2b15cea82e
2 changed files with 9 additions and 0 deletions

View file

@ -18574,6 +18574,10 @@ RET(8)
// ILLEGAL
OPCODE(0x4AFC)
{
#ifdef PICODRIVE_HACK
extern void SekFinishIdleDet(void);
SekFinishIdleDet();
#endif
SET_PC(execute_exception(M68K_ILLEGAL_INSTRUCTION_EX, GET_PC-2, GET_SR));
RET(0)
}