some SilentPatch fixes

# Conflicts:
#	src/core/Camera.cpp
#	src/weapons/Weapon.cpp
This commit is contained in:
shfil authored and Sergeanur committed 2020-09-30 02:14:10 +03:00
1 parent f9dc00a458
commit 35d7591def
5 files changed
+39 -2

No files matched your search

+3 -1
View File
@@ -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;