cpu/decoder - Fix IME state for RETI

This commit is contained in:
madmaurice 2023-08-29 23:06:50 +02:00
parent 28bc389644
commit c39a680293

View file

@ -445,7 +445,7 @@ void Cpu::executeInstruction()
break; break;
case 0xD9: // RETI case 0xD9: // RETI
doRet(); doRet();
state.IME = IME_ON; state.IME = IME_SCHEDULED;
mcycles = 4; mcycles = 4;
break; break;