diff options
author | aap <aap@papnet.eu> | 2020-03-27 20:53:47 +0100 |
---|---|---|
committer | aap <aap@papnet.eu> | 2020-03-27 20:53:47 +0100 |
commit | e7c18fc17f82c40e937367726e07a58d5d4d7bce (patch) | |
tree | 56cb927424f601b27f0bc8821c7761f0e7468724 /src/core/Streaming.cpp | |
parent | XInput (diff) | |
download | re3-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.cpp | 2 |
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; |