cpu/decoder - Fix output reg for LD HL, SP + e8

This commit is contained in:
madmaurice 2023-09-02 00:38:47 +02:00
parent cfa32424c7
commit 9ca6c84043

View file

@ -432,7 +432,7 @@ void Cpu::executeInstruction()
mcycles = 4; mcycles = 4;
break; break;
case 0xF8: // LD HL, SP + e8 case 0xF8: // LD HL, SP + e8
add16_8(state.SP, state.SP, readPC8()); add16_8(state.HL, state.SP, readPC8());
state.zero = false; state.zero = false;
mcycles = 3; mcycles = 3;
break; break;