mirror of https://github.com/PCSX2/pcsx2.git
x86/iR5900: Fix incorrect blend in mfsa
This commit is contained in:
parent
ea11bb61e3
commit
d359e8420b
|
@ -100,7 +100,7 @@ void recMFSA()
|
||||||
// have to zero out bits 63:32
|
// have to zero out bits 63:32
|
||||||
const int temp = _allocTempXMMreg(XMMT_INT);
|
const int temp = _allocTempXMMreg(XMMT_INT);
|
||||||
xMOVSSZX(xRegisterSSE(temp), ptr32[&cpuRegs.sa]);
|
xMOVSSZX(xRegisterSSE(temp), ptr32[&cpuRegs.sa]);
|
||||||
xBLEND.PD(xRegisterSSE(temp), xRegisterSSE(temp), 1);
|
xBLEND.PD(xRegisterSSE(mmreg), xRegisterSSE(temp), 1);
|
||||||
_freeXMMreg(temp);
|
_freeXMMreg(temp);
|
||||||
}
|
}
|
||||||
else if (const int gprreg = _allocIfUsedGPRtoX86(_Rd_, MODE_WRITE); gprreg >= 0)
|
else if (const int gprreg = _allocIfUsedGPRtoX86(_Rd_, MODE_WRITE); gprreg >= 0)
|
||||||
|
|
Loading…
Reference in New Issue