From 855ad6f1d323fd5eecc3f7e93c48462d143b71e0 Mon Sep 17 00:00:00 2001 From: skidau Date: Thu, 29 Jan 2015 23:51:39 +1100 Subject: [PATCH] Fixed an overflow bug in Jit64. --- Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp index b8f2809fec..99ae32e017 100644 --- a/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp +++ b/Source/Core/Core/PowerPC/JitCommon/Jit_Util.cpp @@ -1058,7 +1058,7 @@ void EmuCodeBlock::SetFPRF(Gen::X64Reg xmm) void EmuCodeBlock::JitGetAndClearCAOV(bool oe) { if (oe) - AND(8, PPCSTATE(xer_so_ov), Imm32(~XER_OV_MASK)); //XER.OV = 0 + AND(8, PPCSTATE(xer_so_ov), Imm8(~XER_OV_MASK)); //XER.OV = 0 SHR(8, PPCSTATE(xer_ca), Imm8(1)); //carry = XER.CA, XER.CA = 0 }