mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2024-09-22 04:11:46 +02:00
Merge pull request #6520 from lioncash/oe-precedence
Interpreter_Integer: Correct precedence of overflow check in nego
This commit is contained in:
commit
b68952f45c
1 changed files with 3 additions and 3 deletions
|
@ -591,11 +591,11 @@ void Interpreter::negx(UGeckoInstruction inst)
|
||||||
|
|
||||||
rGPR[inst.RD] = (~a) + 1;
|
rGPR[inst.RD] = (~a) + 1;
|
||||||
|
|
||||||
if (inst.Rc)
|
|
||||||
Helper_UpdateCR0(rGPR[inst.RD]);
|
|
||||||
|
|
||||||
if (inst.OE)
|
if (inst.OE)
|
||||||
PowerPC::SetXER_OV(a == 0x80000000);
|
PowerPC::SetXER_OV(a == 0x80000000);
|
||||||
|
|
||||||
|
if (inst.Rc)
|
||||||
|
Helper_UpdateCR0(rGPR[inst.RD]);
|
||||||
}
|
}
|
||||||
|
|
||||||
void Interpreter::subfx(UGeckoInstruction inst)
|
void Interpreter::subfx(UGeckoInstruction inst)
|
||||||
|
|
Loading…
Reference in a new issue