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:
Unknown W. Brackets committed 2013-06-20 23:13:44 -07:00
1 parent 4bb9e32f03
commit f6743316db
1 file changed
+1 -1
+1 -1
View File
@@ -150,8 +150,8 @@ unsigned int WINAPI TheThread(void *)
shutdown:
_InterlockedExchange(&emuThreadReady, THREAD_SHUTDOWN);
host = nativeHost;
NativeShutdownGraphics();
host = nativeHost;
NativeShutdown();
host = oldHost;
host->ShutdownGL();