summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFire-Head <Fire-Head@users.noreply.github.com>2020-12-28 21:08:47 +0100
committerFire-Head <Fire-Head@users.noreply.github.com>2020-12-28 21:08:47 +0100
commit8af298c668f825785ca83bc212d86160ceb86b83 (patch)
tree99a1e6a6a33c15de61ade17b6f5cca97d72e3b87
parentMore bike leftovers (diff)
downloadre3-8af298c668f825785ca83bc212d86160ceb86b83.tar
re3-8af298c668f825785ca83bc212d86160ceb86b83.tar.gz
re3-8af298c668f825785ca83bc212d86160ceb86b83.tar.bz2
re3-8af298c668f825785ca83bc212d86160ceb86b83.tar.lz
re3-8af298c668f825785ca83bc212d86160ceb86b83.tar.xz
re3-8af298c668f825785ca83bc212d86160ceb86b83.tar.zst
re3-8af298c668f825785ca83bc212d86160ceb86b83.zip
-rw-r--r--src/core/CdStream.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/CdStream.cpp b/src/core/CdStream.cpp
index f987dea5..4bb31ea4 100644
--- a/src/core/CdStream.cpp
+++ b/src/core/CdStream.cpp
@@ -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 )
{