Libretro: Do game unload cleanup
Jeffrey Pfau jeffrey@endrift.com
Sun, 08 Mar 2015 22:49:53 -0700
1 files changed,
6 insertions(+),
1 deletions(-)
jump to
M
src/platform/libretro/libretro.c
→
src/platform/libretro/libretro.c
@@ -182,7 +182,12 @@ return true;
} void retro_unload_game(void) { - // TODO + rom->close(rom); + rom = 0; + save->close(save); + save = 0; + free(savedata); + savedata = 0; } size_t retro_serialize_size(void) {