From 9c3ae795c84a502c25e7c6edbd161b3d6b3bb8e0 Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Fri, 28 Feb 2025 21:41:21 +0000 Subject: [PATCH] COP2/Int: Propagate CLIP_FLAG writes to the VU0.clipflag variable for use in COP2 This value was being updated then COP2 running VCLIP would have the wrong original clip flag value to work from. --- pcsx2/VU0.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcsx2/VU0.cpp b/pcsx2/VU0.cpp index 3324c0876f..38d11f6dcb 100644 --- a/pcsx2/VU0.cpp +++ b/pcsx2/VU0.cpp @@ -198,6 +198,8 @@ void CTC2() { vu1Finish(true); vu1ExecMicro(cpuRegs.GPR.r[_Rt_].US[0]); // Execute VU1 Micro SubRoutine break; + case REG_CLIP_FLAG: + VU0.clipflag = cpuRegs.GPR.r[_Rt_].UL[0]; default: VU0.VI[_Fs_].UL = cpuRegs.GPR.r[_Rt_].UL[0]; break;