all repos — mgba @ e9c64a87bcd58fe699caaacb1a7b6aeb59c4359d

mGBA Game Boy Advance Emulator

GBA: Deinit savegame when unloading a ROM
Jeffrey Pfau jeffrey@endrift.com
Sun, 30 Aug 2015 16:22:33 -0700
commit

e9c64a87bcd58fe699caaacb1a7b6aeb59c4359d

parent

31f40b05ba0ca4be6bc0a1988ef81cac3e49307f

2 files changed, 3 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -5,6 +5,7 @@ - Qt: Fix install path of XDG desktop file with DESTDIR

- 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
M src/gba/gba.csrc/gba/gba.c

@@ -122,6 +122,8 @@ #endif

gba->pristineRom = 0; gba->romVf = 0; } + + GBASavedataDeinit(&gba->memory.savedata); } void GBADestroy(struct GBA* gba) {