EE: Correct FPU_MUL_HACK result value

This commit is contained in:
refractionpcsx2 2023-04-02 03:12:09 +01:00
parent 4133be28c6
commit b0d26c8242
2 changed files with 2 additions and 2 deletions

View File

@ -537,7 +537,7 @@ void FPU_MUL(int regd, int regt, bool reverseOperands)
// else
// 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(edx, xRegisterSSE(reverseOperands ? regd : regt));

View File

@ -420,7 +420,7 @@ void FPU_MUL(int info, int regd, int sreg, int treg, bool acc)
// else
// 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(edx, xRegisterSSE(treg));