tewtal / sm_practice_hack

Super Metroid Practice Hack
The Unlicense
27 stars 19 forks source link

Reload BG3 with loadstate #123

Closed InsaneFirebat closed 1 year ago

InsaneFirebat commented 1 year ago

If the minimap setting changed between saving and loading state, the wrong BG3 tileset will be loaded. To fix this, the minimap setting is copied to SRAM during a savestate, then that copy is compared to the current minimap setting upon loading state. If they don't match, reload BG3 tiles and clear out a few stale HUD tiles around the minimap.

Closes #115