mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Interpreter_Integer: Set the overflow flag if the OE bit is set for divw and divwu
divw and divwu won't panic now if the OE bit is set for these instructions.
This commit is contained in:
parent
f129c936e7
commit
675d2fb774
1 changed files with 2 additions and 4 deletions
|
@ -499,8 +499,7 @@ void Interpreter::divwx(UGeckoInstruction inst)
|
|||
{
|
||||
if (inst.OE)
|
||||
{
|
||||
// should set OV
|
||||
PanicAlert("OE: divwx");
|
||||
SetXER_OV(true);
|
||||
}
|
||||
|
||||
if (((u32)a & 0x80000000) && b == 0)
|
||||
|
@ -526,8 +525,7 @@ void Interpreter::divwux(UGeckoInstruction inst)
|
|||
{
|
||||
if (inst.OE)
|
||||
{
|
||||
// should set OV
|
||||
PanicAlert("OE: divwux");
|
||||
SetXER_OV(true);
|
||||
}
|
||||
|
||||
rGPR[inst.RD] = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue