mirror of
https://github.com/libretro/ppsspp.git
synced 2025-02-18 07:58:14 +00:00
Don't double close the dsound thread.
This commit is contained in:
parent
a349ef0f52
commit
8ec2131795
@ -11,7 +11,7 @@ namespace DSound
|
||||
|
||||
CRITICAL_SECTION soundCriticalSection;
|
||||
HANDLE soundSyncEvent = NULL;
|
||||
HANDLE hThread;
|
||||
HANDLE hThread = NULL;
|
||||
|
||||
StreamCallback callback;
|
||||
|
||||
@ -204,6 +204,7 @@ namespace DSound
|
||||
{
|
||||
WaitForSingleObject(hThread, 1000);
|
||||
CloseHandle(hThread);
|
||||
hThread = NULL;
|
||||
}
|
||||
|
||||
if (threadData == 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user