From d1bf155304d5643218cf70e58d8fb5191536fb9e Mon Sep 17 00:00:00 2001 From: neonloop Date: Tue, 7 Sep 2021 15:31:11 +0000 Subject: Enables softpatching for cores loading content from disk If a core sets need_fullpath, content is patched and written to a file in /tmp. This allows patching content for gpsp and probably others. --- plat_sdl.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plat_sdl.c') diff --git a/plat_sdl.c b/plat_sdl.c index d04c8c2..76be077 100644 --- a/plat_sdl.c +++ b/plat_sdl.c @@ -424,5 +424,7 @@ int plat_reinit(void) void plat_finish(void) { plat_sound_finish(); + SDL_FreeSurface(screen); + screen = NULL; SDL_Quit(); } -- cgit v1.2.3