From 7d1d20becf41d529fd91e627df693103878a52ec Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Wed, 30 Aug 2023 00:36:20 +0200 Subject: [PATCH] cpu/decoder - Fix comment --- cpu/decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;