mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-02 02:52:30 +02:00
Merge pull request #496 from Sonicadvance1/fix-subfic-round2
Fix ARM Jit's subfic when d != a.
This commit is contained in:
commit
7416b9cdb4
@ -170,7 +170,7 @@ void JitArm::subfic(UGeckoInstruction inst)
|
||||
// Flags act exactly like subtracting from 0
|
||||
SUBS(gpr.R(d), gpr.R(d), gpr.R(a));
|
||||
// Output carry is inverted
|
||||
SetCC(CC_CC);
|
||||
SetCC(CC_CS);
|
||||
ORR(tmp, tmp, mask);
|
||||
SetCC();
|
||||
STR(tmp, R9, PPCSTATE_OFF(spr[SPR_XER]));
|
||||
|
Loading…
Reference in New Issue
Block a user