mirror of
https://github.com/PCSX2/pcsx2.git
synced 2026-12-03 19:33:33 +01:00
Vif-JIT: Correct mask reg base offset
This commit is contained in:
1 parent
b5eec33a96
commit
cddc48935c
1 file changed
+1
-1
@@ -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)]);
|
||||
|
||||
Reference in new issue
Block a user