From 9203ae20cd9c0383f21bfab59596ae68aa6d0753 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Sun, 17 Sep 2023 22:28:40 +0100 Subject: [PATCH] GIF: Don't check current path for FINISH --- pcsx2/Gif_Unit.h | 2 +- pcsx2/MTVU.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pcsx2/Gif_Unit.h b/pcsx2/Gif_Unit.h index 024aa81ae4d20..8aac1f9b7972b 100644 --- a/pcsx2/Gif_Unit.h +++ b/pcsx2/Gif_Unit.h @@ -839,7 +839,7 @@ struct Gif_Unit FlushToMTGS(); } - if(!checkPaths(true, true, true, true)) + if(!checkPaths(stat.APATH != 1, stat.APATH != 2, stat.APATH != 3, true)) Gif_FinishIRQ(); //Path3 can rewind the DMA, so we send back the amount we go back! diff --git a/pcsx2/MTVU.cpp b/pcsx2/MTVU.cpp index dc55ee7f8d566..0c9ba01888ee4 100644 --- a/pcsx2/MTVU.cpp +++ b/pcsx2/MTVU.cpp @@ -403,7 +403,7 @@ void VU_Thread::Get_MTVUChanges() gifUnit.gsFINISH.gsFINISHFired = false; gifUnit.gsFINISH.gsFINISHPending = true; - if (!gifUnit.checkPaths(true, true, true, true)) + if (!gifUnit.checkPaths(false, true, true, true)) Gif_FinishIRQ(); } if (interrupts & InterruptFlagLabel)