Skip to content

Commit

Permalink
VIF-JIT: Ignore completely write protected vectors
Browse files Browse the repository at this point in the history
  • Loading branch information
refractionpcsx2 committed May 2, 2023
1 parent 790447e commit bf6a0a0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pcsx2/x86/newVif_Dynarec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ void VifUnpackSSE_Dynarec::doMaskWrite(const xRegisterSSE& regX) const
makeMergeMask(m3);
makeMergeMask(m4);

// Everything is write protected, don't touch it, saveReg can't handle a mask of 0.
if (doMask && m4 == 0xf)
return;

if (doMask && m2) // Merge MaskRow
{
mVUmergeRegs(regX, xmmRow, m2);
Expand Down

0 comments on commit bf6a0a0

Please sign in to comment.