summaryrefslogtreecommitdiffstats
path: root/src/core/CdStream.cpp
diff options
context:
space:
mode:
authorshfil <filip.gawin@zoho.com>2020-09-26 20:11:25 +0200
committerSergeanur <s.anureev@yandex.ua>2020-09-30 01:14:10 +0200
commit35d7591defb352c2af49af0d6e0d3340e7b59672 (patch)
tree7ebab71a962e176826552e2c6d48287c85ecb332 /src/core/CdStream.cpp
parentMerge pull request #718 from Nick007J/miami (diff)
downloadre3-35d7591defb352c2af49af0d6e0d3340e7b59672.tar
re3-35d7591defb352c2af49af0d6e0d3340e7b59672.tar.gz
re3-35d7591defb352c2af49af0d6e0d3340e7b59672.tar.bz2
re3-35d7591defb352c2af49af0d6e0d3340e7b59672.tar.lz
re3-35d7591defb352c2af49af0d6e0d3340e7b59672.tar.xz
re3-35d7591defb352c2af49af0d6e0d3340e7b59672.tar.zst
re3-35d7591defb352c2af49af0d6e0d3340e7b59672.zip
Diffstat (limited to '')
-rw-r--r--src/core/CdStream.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/core/CdStream.cpp b/src/core/CdStream.cpp
index d9978040..c11fb72a 100644
--- a/src/core/CdStream.cpp
+++ b/src/core/CdStream.cpp
@@ -106,12 +106,14 @@ CdStreamInit(int32 numChannels)
GetDiskFreeSpace(nil, &SectorsPerCluster, &BytesPerSector, &NumberOfFreeClusters, &TotalNumberOfClusters);
_gdwCdStreamFlags = 0;
-
+
+#ifndef FIX_BUGS // this just slows down streaming
if ( BytesPerSector <= CDSTREAM_SECTOR_SIZE )
{
_gdwCdStreamFlags |= FILE_FLAG_NO_BUFFERING;
debug("Using no buffered loading for streaming\n");
}
+#endif
_gbCdStreamOverlapped = TRUE;