From 4a8d320479b05b7567dad2cc04eb26e8e457cdbe Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Sat, 5 Feb 2022 16:57:36 -0800 Subject: [PATCH] GE Debugger: Flush downcount when changing lists. In case you step ahead or similar. --- GPU/GPUCommon.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/GPU/GPUCommon.cpp b/GPU/GPUCommon.cpp index dc2a8e860b..0d19e7ad2d 100644 --- a/GPU/GPUCommon.cpp +++ b/GPU/GPUCommon.cpp @@ -2602,6 +2602,7 @@ void GPUCommon::ResetListPC(int listID, u32 pc) { } dls[listID].pc = pc; + downcount = 0; } void GPUCommon::ResetListStall(int listID, u32 stall) { @@ -2611,6 +2612,7 @@ void GPUCommon::ResetListStall(int listID, u32 stall) { } dls[listID].stall = stall; + downcount = 0; } void GPUCommon::ResetListState(int listID, DisplayListState state) { @@ -2620,6 +2622,7 @@ void GPUCommon::ResetListState(int listID, DisplayListState state) { } dls[listID].state = state; + downcount = 0; } GPUDebugOp GPUCommon::DissassembleOp(u32 pc, u32 op) { @@ -2678,6 +2681,7 @@ void GPUCommon::SetCmdValue(u32 op) { PreExecuteOp(op, diff); gstate.cmdmem[cmd] = op; ExecuteOp(op, diff); + downcount = 0; } void GPUCommon::DoBlockTransfer(u32 skipDrawReason) {