- changed status to open
Exception Error in "Blue Sphere" Special Stages
Original [issue 102](https://code.google.com/p/genplus-gx/issues/detail?id=102) created by Icedus on 2010-07-02T05:46:16.000Z:
What steps will reproduce the problem? 1. Play any version of the Sonic "Blue Sphere" special stages- in Sonic 3, Sonic and Knuckles, or with S&K lock-on. 2. Run around for a bit 3. Error
What version of the emulator are you using (official, SVN revision,...)? The compiled binary (r467) on the Downloads page
Please provide any additional information below (Video settings, Console region,...) Seems to happen regardless of emulator settings. The game's region is Automatic (USA)
Comments (3)
-
Account Deleted -
Account Deleted Comment # 2 originally posted by ekeeke31 on 2010-07-02T07:40:12.000Z:
Happens as soon as the message "get blue sphere" is disappearing.
-
Account Deleted - changed status to resolved
Comment # 3 originally posted by ekeeke31 on 2010-07-02T13:42:54.000Z:
Ok, this is now fixed in r471
For further technical reference, it was a strange bug introduced by recent changes I made into the sprite rendering engine. It seems the devkitppc compiler does not handle a comparison test like I thought it logically should (it works fine on the win32 compiled version).
More specifically, the following test:
int a = -48; unsigned int b = 16; if ((a + b) > 0) return TRUE;
is oddly returning TRUE when it definitvely should not (a + b = -32).
Declaring b as signed int fixes this issue.
- Log in to comment
Comment # 1 originally posted by ekeeke31 on 2010-07-02T07:33:10.000Z:
Indeed, this is weird (and new). Do you know in which revision it started to happen ?