mirror of
https://gitlab.com/GaryOderNichts/re3-wiiu.git
synced 2024-11-23 01:29:16 +01:00
multiple instances sema fix
This commit is contained in:
parent
9c2f1b0833
commit
8af298c668
@ -73,7 +73,11 @@ CdStreamInitThread(void)
|
|||||||
gChannelRequestQ.size = gNumChannels + 1;
|
gChannelRequestQ.size = gNumChannels + 1;
|
||||||
ASSERT(gChannelRequestQ.items != nil );
|
ASSERT(gChannelRequestQ.items != nil );
|
||||||
|
|
||||||
|
#ifdef FIX_BUGS
|
||||||
|
gCdStreamSema = CreateSemaphore(nil, 0, 5, nil);
|
||||||
|
#else
|
||||||
gCdStreamSema = CreateSemaphore(nil, 0, 5, "CdStream");
|
gCdStreamSema = CreateSemaphore(nil, 0, 5, "CdStream");
|
||||||
|
#endif
|
||||||
|
|
||||||
if ( gCdStreamSema == nil )
|
if ( gCdStreamSema == nil )
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user