mirror of
https://github.com/GTAmodding/re3.git
synced 2024-12-26 03:45:40 +00:00
multiple instances sema fix
This commit is contained in:
parent
5ebcef2718
commit
ad560ffaf9
1 changed files with 4 additions and 0 deletions
|
@ -73,7 +73,11 @@ CdStreamInitThread(void)
|
|||
gChannelRequestQ.size = gNumChannels + 1;
|
||||
ASSERT(gChannelRequestQ.items != nil );
|
||||
|
||||
#ifdef FIX_BUGS
|
||||
gCdStreamSema = CreateSemaphore(nil, 0, 5, nil);
|
||||
#else
|
||||
gCdStreamSema = CreateSemaphore(nil, 0, 5, "CdStream");
|
||||
#endif
|
||||
|
||||
if ( gCdStreamSema == nil )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue