mirror of https://github.com/PCSX2/pcsx2.git
EE: Correct FPU_MUL_HACK result value
This commit is contained in:
parent
4133be28c6
commit
b0d26c8242
|
@ -537,7 +537,7 @@ void FPU_MUL(int regd, int regt, bool reverseOperands)
|
||||||
// else
|
// else
|
||||||
// return 0;
|
// return 0;
|
||||||
|
|
||||||
alignas(16) static constexpr const u32 result[4] = { 0x3e800000 };
|
alignas(16) static constexpr const u32 result[4] = { 0x3f490fda };
|
||||||
|
|
||||||
xMOVD(ecx, xRegisterSSE(reverseOperands ? regt : regd));
|
xMOVD(ecx, xRegisterSSE(reverseOperands ? regt : regd));
|
||||||
xMOVD(edx, xRegisterSSE(reverseOperands ? regd : regt));
|
xMOVD(edx, xRegisterSSE(reverseOperands ? regd : regt));
|
||||||
|
|
|
@ -420,7 +420,7 @@ void FPU_MUL(int info, int regd, int sreg, int treg, bool acc)
|
||||||
// else
|
// else
|
||||||
// return 0;
|
// return 0;
|
||||||
|
|
||||||
alignas(16) static constexpr const u32 result[4] = { 0x3e800000 };
|
alignas(16) static constexpr const u32 result[4] = { 0x3f490fda };
|
||||||
|
|
||||||
xMOVD(ecx, xRegisterSSE(sreg));
|
xMOVD(ecx, xRegisterSSE(sreg));
|
||||||
xMOVD(edx, xRegisterSSE(treg));
|
xMOVD(edx, xRegisterSSE(treg));
|
||||||
|
|
Loading…
Reference in New Issue