summaryrefslogtreecommitdiffstats
path: root/src/core/main.cpp
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-11-30 23:47:10 +0100
committerNikolay Korolev <nickvnuk@gmail.com>2020-11-30 23:47:10 +0100
commitbcc51f4a284f7d96d388ec093a3e12c6ab6337c1 (patch)
tree3311da68498fc0556882464cb905fa42bd42d06d /src/core/main.cpp
parentMerge remote-tracking branch 'upstream/master' (diff)
parentadded a few registered pointers and memory debug (diff)
downloadre3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.gz
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.bz2
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.lz
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.xz
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.tar.zst
re3-bcc51f4a284f7d96d388ec093a3e12c6ab6337c1.zip
Diffstat (limited to '')
-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];