all repos — mgba @ 78b3cedb2bd7b308a4163070fd6dda4682e28c1c

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

78b3cedb2bd7b308a4163070fd6dda4682e28c1c

parent

f31d3c1443334d0fb1657f304239d621274cfe26

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: Remove useless help icons in dialogs
M src/gba/gba.csrc/gba/gba.c

@@ -113,6 +113,8 @@ gba->romVf->unmap(gba->romVf, gba->pristineRom, gba->pristineRomSize);

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