summaryrefslogtreecommitdiff
path: root/src/core/Streaming.h
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-01-27 18:26:08 +0300
committererorcun <erorcunerorcun@hotmail.com.tr>2021-01-27 18:26:08 +0300
commit843dd9b5e12c2de92fc3f0923260204eb07f3f0d (patch)
tree2fb208d9f64c1f13e952d21a5c2322e825032bf1 /src/core/Streaming.h
parentf27e1ec818a7d6ed96c7331358732865950f8234 (diff)
Clean up POSIX streaming code
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 0e2e89be..3294a88e 100644
--- a/src/core/Streaming.h
+++ b/src/core/Streaming.h
@@ -85,7 +85,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;