cpu/decoder - RETI enables interrupts without delay

This commit is contained in:
madmaurice 2023-08-30 21:35:57 +02:00
parent 7574c9f709
commit c1ba944fc9

View file

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