issues
search
pj64team
/
Project64-Legacy
Finishing what we started.
79
stars
7
forks
source link
Fix integer overflow crash with DIV instruction
#61
Closed
parasyte
closed
1 year ago
parasyte
commented
1 year ago
We don't need to use a slow 64-bit divide because there is only one pair of 32-bit inputs that overflows on x86. So just check for those explicitly and use a fast 32-bit divide.