When adding keys to the hash table, the core checks for -1 to end the loop, but that won't always match the -1 in the enum. Both ptr4->key and -1 should be the same type in order for the comparison to work.
This change allowed me to see the title screen of a game, but the game itself seemed stuck on the loading screen. I don't know enough about the core to know whether it's just slow, or whether there is something else missing. But it doesn't crash on launch anymore with this change, at least on 3DS.
When adding keys to the hash table, the core checks for -1 to end the loop, but that won't always match the -1 in the enum. Both
ptr4->key
and-1
should be the same type in order for the comparison to work.This change allowed me to see the title screen of a game, but the game itself seemed stuck on the loading screen. I don't know enough about the core to know whether it's just slow, or whether there is something else missing. But it doesn't crash on launch anymore with this change, at least on 3DS.
This should fix #51.