summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-27 16:26:08 +0100
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-27 20:19:00 +0100
commitab939e059b4263fec4e26425bce6a12ecf88d2e6 (patch)
tree72be40877a6cb4e37962552bf3df3c88c9860974 /src/core/Streaming.h
parentfix fix (diff)
downloadre3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.tar
re3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.tar.gz
re3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.tar.bz2
re3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.tar.lz
re3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.tar.xz
re3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.tar.zst
re3-ab939e059b4263fec4e26425bce6a12ecf88d2e6.zip
Diffstat (limited to 'src/core/Streaming.h')
-rw-r--r--src/core/Streaming.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/Streaming.h b/src/core/Streaming.h
index a67384f6..4ddf0b3b 100644
--- a/src/core/Streaming.h
+++ b/src/core/Streaming.h
@@ -88,7 +88,11 @@ public:
static int32 ms_oldSectorX;
static int32 ms_oldSectorY;
static int32 ms_streamingBufferSize;
+#ifndef ONE_THREAD_PER_CHANNEL
static int8 *ms_pStreamingBuffer[2];
+#else
+ static int8 *ms_pStreamingBuffer[4];
+#endif
static size_t ms_memoryUsed;
static CStreamingChannel ms_channel[2];
static int32 ms_channelError;