mirror of https://github.com/mgba-emu/mgba.git
GBA: Deinit savegame when unloading a ROM
This commit is contained in:
parent
31f40b05ba
commit
e9c64a87bc
1
CHANGES
1
CHANGES
|
@ -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: Window size command line options are now supported
|
||||
- Qt: Increase usability of key mapper
|
||||
|
|
|
@ -122,6 +122,8 @@ void GBAUnloadROM(struct GBA* gba) {
|
|||
gba->pristineRom = 0;
|
||||
gba->romVf = 0;
|
||||
}
|
||||
|
||||
GBASavedataDeinit(&gba->memory.savedata);
|
||||
}
|
||||
|
||||
void GBADestroy(struct GBA* gba) {
|
||||
|
|
Loading…
Reference in New Issue