The main problem seems to be that the palettes aren't written.
Only the 255th entry of each palette is written. It seems the palette is probably being written in reverse accidentally. This seems eerily familiar. For some reason I remember debugging a game that was doing this previously.
The game seems to write only palette entries 05000000, 05000002, and 050001FE, and then copy them from 05000000 completely to... (a backup cache?)
0.9.9 works as well, which does include the JIT. So too does 0.9.10 and 0.9.11
I need to debug this in an older version
When it's working correctly, around frame 225, "/nitrotracker-legit/" will show up. That takes longer on the latest SVN version. Most likely the nitroFS isn't being read correctly
I bisected it to find the fault commit r5438. No surprise, it's in the SD filesystem scanning/loading code. I'll analyze it further tomorrow
]]>If I try to run the game by changing Slot 2 (GBA) from auto to MPCF Flash Card Device and select an empty folder for FAT image (not sure if i'm doing that right...) I get this error:
"Searching NDS_TGM_20080815.nds ...
Cannot use NitroFS in this environment."