From e46d435d28c06a5a3d5b226de2ddd7ca0ee870fe Mon Sep 17 00:00:00 2001 From: refractionpcsx2 Date: Tue, 30 Apr 2024 09:37:15 +0100 Subject: [PATCH] EE/JIT: Increase size of jump for FPU MUL --- pcsx2/x86/iFPUd.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/x86/iFPUd.cpp b/pcsx2/x86/iFPUd.cpp index 1ed9c6ca8a..2c281c57dc 100644 --- a/pcsx2/x86/iFPUd.cpp +++ b/pcsx2/x86/iFPUd.cpp @@ -396,7 +396,7 @@ void FPU_ADD_SUB(int tempd, int tempt) //tempd and tempt are overwritten, they a void FPU_MUL(int info, int regd, int sreg, int treg, bool acc) { - u8* endMul = nullptr; + u32* endMul = nullptr; if (CHECK_FPUMULHACK) { @@ -417,7 +417,7 @@ void FPU_MUL(int info, int regd, int sreg, int treg, bool acc) u8* noHack = JNZ8(0); xMOVAPS(xRegisterSSE(regd), ptr128[result]); - endMul = JMP8(0); + endMul = JMP32(0); x86SetJ8(noHack); } @@ -427,7 +427,7 @@ void FPU_MUL(int info, int regd, int sreg, int treg, bool acc) xMOVSS(xRegisterSSE(regd), xRegisterSSE(sreg)); if (CHECK_FPUMULHACK) - x86SetJ8(endMul); + x86SetJ32(endMul); } //------------------------------------------------------------------