Merge pull request #15393 from unknownbrackets/gedebugger-crash

GE Debugger: Avoid crash on Step Draw with flush
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2022-02-11 08:38:16 +01:00
commit 90d98be5f1
1 file changed
+1 -1
+1 -1
View File
@@ -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();
}