shonumi / gbe-plus

DMG/GBC/GBA emulator and experimental NDS emulator.
GNU General Public License v2.0
530 stars 80 forks source link

CGFX does not reset which tile locations are replaced when loading a save state. #65

Closed frozenLake closed 6 years ago

frozenLake commented 6 years ago

To explain better, I am loading a savestate from earlier in the game from after I enter castle Dedede, resulting in the Dedede tiles being used in Bubbly Clouds. (I have pretty much all the mt dedede tiles loaded into cgfx in order to help figure out what to do) This happens from any point where you load a savestate, and requires reloading tiles (by going through a door) in order to have things display correctly.

image

frozenLake commented 6 years ago

Note that when I say tile locations aren't being replaced, I obviously don't mean the positions on screen. Instead, I am referring to the positions of the BG tiles in memory that are affecting things.

shonumi commented 6 years ago

Save states and CGFX are 100% not supported at the moment. Give me a while; it shouldn't​ be too hard.

shonumi commented 6 years ago

Mind seeing if the latest dev build fixes it?

https://mega.nz/#!yg9DwYzT!wP6p60VctZnTTSD-RBJKLgURu9Dn4qo4rQzeDxxJg7o

frozenLake commented 6 years ago

Sorry I took so long: it works.

shonumi commented 6 years ago

Don't worry about the delay. Once again, thanks for testing!