Hejsil / pokemon-randomizer

A Pokémon Rom randomizer tool written in Zig
The Unlicense
13 stars 0 forks source link

Loading Dia/Pearl/Plat crashes Desmume #35

Open Hejsil opened 6 years ago

Hejsil commented 6 years ago

Even with no randomization, Diamond, Pearl and Platinum crash desmume. This is probably a bug in nds rom loading/saving somewhere.

Idk how this have slipped past me for this long. The gen4-support branch I did a while back does this too...

Desmume output:

terminate called after throwing an instance of 'std::out_of_range'
  what():  basic_string::substr: __pos (which is 18446744073709551615) > this->size() (which is 5)
[1]    3592 abort (core dumped)  desmume d.nds