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.
This commit is contained in:
refractionpcsx2 2025-02-28 21:41:21 +00:00
parent de26226fa1
commit 9c3ae795c8
1 changed files with 2 additions and 0 deletions

View File

@ -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;