Fix ARM Jit's subfic when d != a.

Missed this path previously, Crazy Taxi hits it.
This commit is contained in:
Ryan Houdek 2014-06-15 15:34:02 +00:00
parent 5a156065d4
commit 78d2322aa0
1 changed files with 1 additions and 1 deletions

View File

@ -170,7 +170,7 @@ void JitArm::subfic(UGeckoInstruction inst)
// Flags act exactly like subtracting from 0 // Flags act exactly like subtracting from 0
SUBS(gpr.R(d), gpr.R(d), gpr.R(a)); SUBS(gpr.R(d), gpr.R(d), gpr.R(a));
// Output carry is inverted // Output carry is inverted
SetCC(CC_CC); SetCC(CC_CS);
ORR(tmp, tmp, mask); ORR(tmp, tmp, mask);
SetCC(); SetCC();
STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER])); STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));