From d6bf0baed06f40394588bc2b2a4ef4eac853d9f8 Mon Sep 17 00:00:00 2001 From: SarahW Date: Mon, 16 Nov 2020 19:34:58 +0000 Subject: [PATCH] Close all devices on emulation shutdown. --- src/wx-sdl2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/wx-sdl2.c b/src/wx-sdl2.c index 0813929..9411d5b 100644 --- a/src/wx-sdl2.c +++ b/src/wx-sdl2.c @@ -721,6 +721,7 @@ int stop_emulation() endblit(); SDL_DestroyMutex(ghMutex); + device_close_all(); midi_close(); pclog("Emulation stopped.\n");