summaryrefslogtreecommitdiffstats
path: root/src/core/Streaming.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-27 20:53:47 +0100
committeraap <aap@papnet.eu>2020-03-27 20:53:47 +0100
commite7c18fc17f82c40e937367726e07a58d5d4d7bce (patch)
tree56cb927424f601b27f0bc8821c7761f0e7468724 /src/core/Streaming.cpp
parentXInput (diff)
downloadre3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.tar
re3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.tar.gz
re3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.tar.bz2
re3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.tar.lz
re3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.tar.xz
re3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.tar.zst
re3-e7c18fc17f82c40e937367726e07a58d5d4d7bce.zip
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r--src/core/Streaming.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp
index 3a830d37..6106f3df 100644
--- a/src/core/Streaming.cpp
+++ b/src/core/Streaming.cpp
@@ -198,7 +198,7 @@ CStreaming::Init(void)
// PC only, figure out how much memory we got
#ifdef GTA_PC
#define MB (1024*1024)
- extern DWORD &_dwMemAvailPhys;
+ extern unsigned long &_dwMemAvailPhys;
ms_memoryAvailable = (_dwMemAvailPhys - 10*MB)/2;
if(ms_memoryAvailable < 50*MB)
ms_memoryAvailable = 50*MB;