From 0056e591499edc016b47faa27322f6b55b09e162 Mon Sep 17 00:00:00 2001 From: Sour Date: Sun, 7 Jul 2024 20:57:11 +0900 Subject: [PATCH] Debugger: GB - Fixed screen sometimes turning black when STOP instruction was shown in the disassembly --- Core/Gameboy/GbCpu.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Core/Gameboy/GbCpu.cpp b/Core/Gameboy/GbCpu.cpp index 615ee5a5..4ad1a70c 100644 --- a/Core/Gameboy/GbCpu.cpp +++ b/Core/Gameboy/GbCpu.cpp @@ -868,7 +868,9 @@ void GbCpu::STOP() } else { _state.Stopped = true; _state.HaltCounter = 1; +#ifndef DUMMYCPU _ppu->SetCpuStopState(true); +#endif } }