From 2483f7b35901f772ecd8da8301ecc18ce3aec9b4 Mon Sep 17 00:00:00 2001 From: Ryan Houdek Date: Sun, 25 Jan 2015 03:17:14 -0600 Subject: [PATCH] [AArch64] Fix addcx. --- Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp index 44da8822a8..09ecdcec12 100644 --- a/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp +++ b/Source/Core/Core/PowerPC/JitArm64/JitArm64_Integer.cpp @@ -702,7 +702,7 @@ void JitArm64::addcx(UGeckoInstruction inst) if (gpr.IsImm(a) && gpr.IsImm(b)) { u32 i = gpr.GetImm(a), j = gpr.GetImm(b); - gpr.SetImmediate(d, i * j); + gpr.SetImmediate(d, i + j); bool has_carry = Interpreter::Helper_Carry(i, j); ComputeCarry(has_carry);