Close all devices on emulation shutdown.

This commit is contained in:
SarahW 2020-11-16 19:34:58 +00:00
commit d6bf0baed0

View file

@ -721,6 +721,7 @@ int stop_emulation()
endblit(); endblit();
SDL_DestroyMutex(ghMutex); SDL_DestroyMutex(ghMutex);
device_close_all();
midi_close(); midi_close();
pclog("Emulation stopped.\n"); pclog("Emulation stopped.\n");