Vif-JIT: Correct mask reg base offset

This commit is contained in:
refractionpcsx2 authored and Ty committed 2026-11-29 15:17:00 -05:00
1 parent b5eec33a96
commit cddc48935c
1 file changed
+1 -1
+1 -1
View File
@@ -332,7 +332,7 @@ void VifUnpackSSE_Simple::doMaskWrite(const xRegisterSSE& regX) const
{
xMOVAPS(xmm3, ptr[dstIndirect]);
const int offX = std::min(curCycle, 3);
sptr base = reinterpret_cast<sptr>(nVifMask[2]);
sptr base = reinterpret_cast<sptr>(nVifMask);
xLoadFarAddr(rax, nVifMask);
xPAND(regX, ptr128[rax + (reinterpret_cast<sptr>(nVifMask[0][offX]) - base)]);
xPAND(xmm3, ptr128[rax + (reinterpret_cast<sptr>(nVifMask[1][offX]) - base)]);