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 16:26:08 +0100
commit843dd9b5e12c2de92fc3f0923260204eb07f3f0d (patch)
tree2fb208d9f64c1f13e952d21a5c2322e825032bf1 /src/core/Streaming.h
parentFix doubles in ZoneCull (diff)
downloadre3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.tar
re3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.tar.gz
re3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.tar.bz2
re3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.tar.lz
re3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.tar.xz
re3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.tar.zst
re3-843dd9b5e12c2de92fc3f0923260204eb07f3f0d.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 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;