fix the gui allocation / deallocation memory issues
Issue #2
resolved
you wouldn’t believe me but I’ve dreamt of playing SnemulDS and got quite far in a game and when I wanted to save I had a segfault because I forgot to enable SRAM save and got it when checking the option. lol
Comments (2)
-
reporter -
reporter - changed status to resolved
master branch: 240K of free memory :(, this means GUI won't segfault now but ROM probably will (3MB or less) and will require a reload everytime GUI is tweaked
https://bitbucket.org/Coto88/snemulds/commits/bf694ee0229a5b41361785505133c3ea7ffe62c1
- Log in to comment
Fix GUI issues in DSP branch.
https://bitbucket.org/Coto88/snemulds/commits/79e6c81500027d71b4244013a2c82b42c5a0c241
Notes: DSP branch can use ROMs up to 0x280000 or 2.5M since the rest of ROM mem is reserved for GUI allocation. Memory afterwards is the usual SnemulDS SNES memory.
This means: master branch will always have memory issues due to low memory (about 240K free) and will overlap ROM memory by changing GUI settings :(, but at least there won’t be GUI segfaults anymore.