RetroAchievements / RAVBA

GB/GBC/GBA emulator with RetroAchievements support (modified version of VisualBoyAdvance-M)
8 stars 2 forks source link

reset any ROM that was patched by cheats when switching to hardcore #2

Closed Jamiras closed 4 years ago

Jamiras commented 4 years ago

There's a small subset of cheats supported by VBA-M that actually modify the ROM data (instead of anything in the emulated memory). The modified ROM data was persisting through the transition to hardcore, and was not affected by disabling the per-frame evaluation of cheats.

Solution: when transitioning to hardcore, forcibly restore the ROM data that was modified.