VIF-JIT: Ignore completely write protected vectors

This commit is contained in:
refractionpcsx2 2023-05-02 23:19:02 +01:00
parent 790447ecc9
commit bf6a0a035a

View File

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