diff --git a/cpu/decoder.cpp b/cpu/decoder.cpp index 2ba95fd..34f9933 100644 --- a/cpu/decoder.cpp +++ b/cpu/decoder.cpp @@ -114,7 +114,7 @@ void Cpu::executeInstruction() state.reg16((op >> 4) & 0x3) += 1; mcycles = 2; } - else if((op & 0xCF) == 0x0B) // INC rr + else if((op & 0xCF) == 0x0B) // DEC rr { state.reg16((op >> 4) & 0x3) -= 1; mcycles = 2;