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");