diff --git a/cpu/decoder.cpp b/cpu/decoder.cpp index fa318f4..c6e23f6 100644 --- a/cpu/decoder.cpp +++ b/cpu/decoder.cpp @@ -445,7 +445,7 @@ void Cpu::executeInstruction() break; case 0xD9: // RETI doRet(); - state.IME = IME_ON; + state.IME = IME_SCHEDULED; mcycles = 4; break;