cpu/decoder - Fix IME state for RETI
This commit is contained in:
parent
28bc389644
commit
c39a680293
1 changed files with 1 additions and 1 deletions
|
@ -445,7 +445,7 @@ void Cpu::executeInstruction()
|
|||
break;
|
||||
case 0xD9: // RETI
|
||||
doRet();
|
||||
state.IME = IME_ON;
|
||||
state.IME = IME_SCHEDULED;
|
||||
mcycles = 4;
|
||||
break;
|
||||
|
||||
|
|
Loading…
Reference in a new issue