mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-06-28 09:59:41 -06:00
Merge branch 'master' of https://github.com/Arisotura/melonDS
This commit is contained in:
@ -1416,7 +1416,7 @@ void DivDone(u32 param)
|
|||||||
if (den == 0)
|
if (den == 0)
|
||||||
{
|
{
|
||||||
DivQuotient[0] = (num<0) ? 1:-1;
|
DivQuotient[0] = (num<0) ? 1:-1;
|
||||||
DivQuotient[1] = (num<0) ? -1:1;
|
DivQuotient[1] = (num<0) ? -1:0;
|
||||||
*(s64*)&DivRemainder[0] = num;
|
*(s64*)&DivRemainder[0] = num;
|
||||||
}
|
}
|
||||||
else if (num == -0x80000000 && den == -1)
|
else if (num == -0x80000000 && den == -1)
|
||||||
|
Reference in New Issue
Block a user