From 0e4daa05b9c09789b35e75d4da1fa497726bd49c Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Thu, 10 Feb 2022 21:44:41 -0800 Subject: [PATCH] GE Debugger: Avoid crash on Step Draw with flush. If we're already stepping, we shouldn't try to re-enter stepping. --- GPU/Debugger/Debugger.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPU/Debugger/Debugger.cpp b/GPU/Debugger/Debugger.cpp index adb761f62b..04fb647f1d 100644 --- a/GPU/Debugger/Debugger.cpp +++ b/GPU/Debugger/Debugger.cpp @@ -139,7 +139,7 @@ bool NotifyCommand(u32 pc) { void NotifyDraw() { if (!active) return; - if (breakNext == BreakNext::DRAW) { + if (breakNext == BreakNext::DRAW && !GPUStepping::IsStepping()) { NOTICE_LOG(G3D, "Waiting at a draw"); GPUStepping::EnterStepping(); }