summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-11-30 23:44:58 +0100
committeraap <aap@papnet.eu>2020-11-30 23:44:58 +0100
commit4b9fb631fc1b250a1e353da2e319d49371573bcc (patch)
tree216236fc03d050b78296b14b6cbe5d4159bfb28a /src/core/main.cpp
parentMerge pull request #850 from aap/master (diff)
downloadre3-4b9fb631fc1b250a1e353da2e319d49371573bcc.tar
re3-4b9fb631fc1b250a1e353da2e319d49371573bcc.tar.gz
re3-4b9fb631fc1b250a1e353da2e319d49371573bcc.tar.bz2
re3-4b9fb631fc1b250a1e353da2e319d49371573bcc.tar.lz
re3-4b9fb631fc1b250a1e353da2e319d49371573bcc.tar.xz
re3-4b9fb631fc1b250a1e353da2e319d49371573bcc.tar.zst
re3-4b9fb631fc1b250a1e353da2e319d49371573bcc.zip
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r--src/core/main.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp
index d34eb8f3..102548b6 100644
--- a/src/core/main.cpp
+++ b/src/core/main.cpp
@@ -110,6 +110,9 @@ void TheGame(void);
void DebugMenuPopulate(void);
#endif
+#ifndef FINAL
+bool gbPrintMemoryUsage;
+#endif
#ifdef GTA_PS2
#define WANT_TO_LOAD TheMemoryCard.m_bWantToLoad
@@ -957,9 +960,10 @@ DisplayGameDebugText()
TWEAKBOOL(bDisplayPosn);
TWEAKBOOL(bDisplayRate);
}
-#endif
-// PrintMemoryUsage(); // TODO: put this somewhere else
+ if(gbPrintMemoryUsage)
+ PrintMemoryUsage();
+#endif
char str[200];
wchar ustr[200];