From 0ca0e1da36a1a4d29dad2657f40cd362d08546fc Mon Sep 17 00:00:00 2001 From: Adrian Conlon Date: Wed, 13 Jul 2022 07:44:47 +0100 Subject: [PATCH] Optimisation: the NOP is meaningless Signed-off-by: Adrian Conlon --- LR35902/src/LR35902.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LR35902/src/LR35902.cpp b/LR35902/src/LR35902.cpp index 5149742..b8859de 100644 --- a/LR35902/src/LR35902.cpp +++ b/LR35902/src/LR35902.cpp @@ -460,7 +460,7 @@ int EightBit::GameBoy::LR35902::step() noexcept { handleINT(); } else if (UNLIKELY(lowered(HALT()))) { IntelProcessor::memoryRead(PC()); - Processor::execute(0); // NOP + //Processor::execute(0); // NOP } else { Processor::execute(fetchByte()); }