added a few registered pointers and memory debug

This commit is contained in:
aap 2020-11-30 23:44:58 +01:00
parent 356a32eb09
commit 4b9fb631fc
5 changed files with 67 additions and 5 deletions

View file

@ -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];