diff options
author | Arisotura <thetotalworm@gmail.com> | 2019-08-29 15:55:33 +0200 |
---|---|---|
committer | Arisotura <thetotalworm@gmail.com> | 2019-08-29 15:55:33 +0200 |
commit | 210c1056b065a003f13506693da97f4af46fa1db (patch) | |
tree | 84a7c392e64d9eebd5a740f441821ff15a5d66f6 | |
parent | fbad8b0f4393a41892c5da59d1ef62d0314a029b (diff) | |
parent | 16d5041da87f85022de3f9f44693c2b4ea54234e (diff) |
Merge branch 'master' of https://github.com/Arisotura/melonDS
-rw-r--r-- | src/NDS.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NDS.cpp b/src/NDS.cpp index 991995d..ceeeb79 100644 --- a/src/NDS.cpp +++ b/src/NDS.cpp @@ -1416,7 +1416,7 @@ void DivDone(u32 param) if (den == 0) { DivQuotient[0] = (num<0) ? 1:-1; - DivQuotient[1] = (num<0) ? -1:1; + DivQuotient[1] = (num<0) ? -1:0; *(s64*)&DivRemainder[0] = num; } else if (num == -0x80000000 && den == -1) |