mirror of https://github.com/stella-emu/stella.git
Terminate audio after the SoundSDL2 has been destroyed.
This commit is contained in:
parent
73475d33d1
commit
1e0ed9c104
|
@ -91,6 +91,7 @@ SoundSDL2::~SoundSDL2()
|
|||
if (!myIsInitializedFlag) return;
|
||||
|
||||
SDL_CloseAudioDevice(myDevice);
|
||||
SDL_QuitSubSystem(SDL_INIT_AUDIO);
|
||||
}
|
||||
|
||||
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||
|
|
Loading…
Reference in New Issue