Hello,
The expression "(1 >> 12)" in the f32toint() macro evaluates to zero and causes a division by zero. Should be "(1U << 12)" instead.
Cheers...
Search found 2 matches
- Wed Aug 09, 2017 3:50 pm
- Forum: DS/DSi Development
- Topic: Bug: f32toint() macro causes division by zero
- Replies: 1
- Views: 7146
- Mon Jan 23, 2017 6:25 pm
- Forum: Announcements
- Topic: Kitchen Sink Update
- Replies: 16
- Views: 49459
Re: Kitchen Sink Update
Hi, After intstalling the newest update (via Windows updater) a couple of issues encountered: 1. The deployed grit binary crashes at launch (grit files are valid). The source seems to be ok cause after checking out the newest sources (https://github.com/devkitPro/grit) and compiling the executable ...