From 763fe13f5ad4688fb9740a402027f317112197e5 Mon Sep 17 00:00:00 2001 From: MadMaurice Date: Mon, 28 Aug 2023 23:08:33 +0200 Subject: [PATCH] decoder - Disable debug printf --- cpu/decoder.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpu/decoder.cpp b/cpu/decoder.cpp index 176232c..86ece07 100644 --- a/cpu/decoder.cpp +++ b/cpu/decoder.cpp @@ -13,7 +13,9 @@ void Cpu::executeInstruction() opcode_t op = readPC8(); int mcycles = 1; +#if 0 printf("@0x%04x: opcode %02X\n",currentpc,op); +#endif if ((op & 0xC0) == 0x40 && op != 0x76) // LD r, r' {