diff options
author | eray orçunus <erayorcunus@gmail.com> | 2020-07-24 19:43:51 +0200 |
---|---|---|
committer | eray orçunus <erayorcunus@gmail.com> | 2020-07-24 20:35:04 +0200 |
commit | 15918feb8eca09c38d7a40d67cca10cecc4affdc (patch) | |
tree | 61826572f6be8a55658a8e8e5fc73b57bf5c6c64 /src/core/Streaming.cpp | |
parent | Add ps2 audio paths (diff) | |
download | re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.tar re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.tar.gz re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.tar.bz2 re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.tar.lz re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.tar.xz re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.tar.zst re3-15918feb8eca09c38d7a40d67cca10cecc4affdc.zip |
Diffstat (limited to 'src/core/Streaming.cpp')
-rw-r--r-- | src/core/Streaming.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/core/Streaming.cpp b/src/core/Streaming.cpp index 6b652a6a..40189844 100644 --- a/src/core/Streaming.cpp +++ b/src/core/Streaming.cpp @@ -210,11 +210,7 @@ CStreaming::Init2(void) desiredNumVehiclesLoaded = (int32)((ms_memoryAvailable / MB - 50) / 3 + 12); if(desiredNumVehiclesLoaded > MAXVEHICLESLOADED) desiredNumVehiclesLoaded = MAXVEHICLESLOADED; -#if defined(__LP64__) || defined(_WIN64) - debug("Memory allocated to Streaming is %lluMB", ms_memoryAvailable/MB); -#else - debug("Memory allocated to Streaming is %dMB", ms_memoryAvailable/MB); -#endif + debug("Memory allocated to Streaming is %zuMB", ms_memoryAvailable/MB); // original modifier was %d #undef MB #endif @@ -2497,11 +2493,7 @@ CStreaming::UpdateForAnimViewer(void) if (CStreaming::ms_channelError == -1) { CStreaming::AddModelsToRequestList(CVector(0.0f, 0.0f, 0.0f)); CStreaming::LoadRequestedModels(); -#if defined(__LP64__) || defined(_WIN64) - sprintf(gString, "Requested %d, memory size %lluK\n", CStreaming::ms_numModelsRequested, 2 * CStreaming::ms_memoryUsed); -#else - sprintf(gString, "Requested %d, memory size %dK\n", CStreaming::ms_numModelsRequested, 2 * CStreaming::ms_memoryUsed); -#endif + sprintf(gString, "Requested %d, memory size %zuK\n", CStreaming::ms_numModelsRequested, 2 * CStreaming::ms_memoryUsed); // original modifier was %d } else { CStreaming::RetryLoadFile(CStreaming::ms_channelError); |