Make sure Windows shuts down its audio properly.
~EmuScreen can call PSP_Shutdown(), which calls host->ShutdownSound(). Because of this, we really need host to be WindowsHost during NativeShutdownGraphics().
This commit is contained in:
parent
4bb9e32f03
commit
f6743316db
1 changed files with 1 additions and 1 deletions
|
@ -150,8 +150,8 @@ unsigned int WINAPI TheThread(void *)
|
|||
shutdown:
|
||||
_InterlockedExchange(&emuThreadReady, THREAD_SHUTDOWN);
|
||||
|
||||
host = nativeHost;
|
||||
NativeShutdownGraphics();
|
||||
host = nativeHost;
|
||||
NativeShutdown();
|
||||
host = oldHost;
|
||||
host->ShutdownGL();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue