From 89cefe31030f1bdeb4dda7762e6db1db1deb8888 Mon Sep 17 00:00:00 2001 From: degasus Date: Sun, 29 Jan 2017 18:37:43 +0100 Subject: [PATCH] JitArm64: Fix immediate versions of cmpl. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp index 5a8c1128fa..dfbb339fe8 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp @@ -437,12 +437,12 @@ void JitArm64::cmpl(UGeckoInstruction inst) if (gpr.IsImm(a) && gpr.IsImm(b)) { - ComputeRC(gpr.GetImm(a) - gpr.GetImm(b), crf); + ComputeRC(static_cast(gpr.GetImm(a)) - static_cast(gpr.GetImm(b)), crf, false); return; } else if (gpr.IsImm(b) && !gpr.GetImm(b)) { - ComputeRC(gpr.R(a), crf); + ComputeRC(gpr.R(a), crf, false); return; }