Skip to content

Commit

Permalink
COP2/Int: Propagate CLIP_FLAG writes to the VU0.clipflag variable for…
Browse files Browse the repository at this point in the history
… use in COP2

This value was being updated then COP2 running VCLIP would have the wrong original clip flag value to work from.
  • Loading branch information
refractionpcsx2 committed Mar 2, 2025
1 parent de26226 commit 9c3ae79
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pcsx2/VU0.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 9c3ae79

Please sign in to comment.