neo-engine / neo

A homebrew Pokémon nds game; written from scratch using libnds and devkitPro
GNU General Public License v3.0
110 stars 8 forks source link

Real hardware: Memory corruption upon entering a battle #20

Closed PH111P closed 8 years ago

PH111P commented 8 years ago

(Real hardware is just weird.)

Upon entering a battle, some seemingly random garbage may be written to the team data and to other places in memory. This further seems to cause some sprite related nitroFS accesses return garbage as well, thus rendering the game merely playable. (At least it does not seem to crash, however, I'd rather not save in that situation either.)

This happens, of course, only on real hardware and only sometimes.

PH111P commented 8 years ago

photo_2016-10-20_21-34-53

PH111P commented 8 years ago

It seems, the way the UI for battles was created and used really messed things up…