mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
[AArch64] Fix addcx.
This commit is contained in:
parent
6791a808b6
commit
2483f7b359
@ -702,7 +702,7 @@ void JitArm64::addcx(UGeckoInstruction inst)
|
|||||||
if (gpr.IsImm(a) && gpr.IsImm(b))
|
if (gpr.IsImm(a) && gpr.IsImm(b))
|
||||||
{
|
{
|
||||||
u32 i = gpr.GetImm(a), j = gpr.GetImm(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);
|
bool has_carry = Interpreter::Helper_Carry(i, j);
|
||||||
ComputeCarry(has_carry);
|
ComputeCarry(has_carry);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user