GBA: Deinit savegame when unloading a ROM

This commit is contained in:
Jeffrey Pfau 2015-08-30 16:22:33 -07:00
parent f31d3c1443
commit 78b3cedb2b
2 changed files with 3 additions and 0 deletions

View File

@ -5,6 +5,7 @@ Bugfixes:
- Qt: Fix drag and drop on Windows
- Qt: Reenable double buffering, as disabling it broke some Windows configs
- GBA Video: Start on the scanline BIOS finishes on if no BIOS is loaded
- GBA: Deinit savegame when unloading a ROM
Misc:
- Qt: Remove useless help icons in dialogs

View File

@ -113,6 +113,8 @@ void GBAUnloadROM(struct GBA* gba) {
gba->pristineRom = 0;
gba->romVf = 0;
}
GBASavedataDeinit(&gba->memory.savedata);
}
void GBADestroy(struct GBA* gba) {