reswitched / pegaswitch

PegaSwitch is an exploit toolkit for the Nintendo Switch
https://reswitched.team
ISC License
934 stars 107 forks source link

Fix bug in trunclt64 #109

Closed Selver-gba closed 6 years ago

Selver-gba commented 6 years ago

trunclt64 is supposed to throw if any truncated bits are non-zero. However, if truncating to 32 or fewer bits, it failed to throw when the upper 32 bits were non-zero.