Close all devices on emulation shutdown.
This commit is contained in:
parent
4459c7175d
commit
d6bf0baed0
1 changed files with 1 additions and 0 deletions
|
|
@ -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");
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue