mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06: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:
@ -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;
|
||||
|
Reference in New Issue
Block a user