diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-10 00:26:12 +0200 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-10 00:26:12 +0200 |
commit | 35c41208f5910ccb3d4f3aeed3980434cb4360b3 (patch) | |
tree | d49aa0fdb827960dbc3cc4c016267f6244828e61 /src/core/main.cpp | |
parent | Merge pull request #528 from Nick007J/miami (diff) | |
parent | Small unification (diff) | |
download | re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.gz re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.bz2 re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.lz re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.xz re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.tar.zst re3-35c41208f5910ccb3d4f3aeed3980434cb4360b3.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 9e0fda15..6bf8228d 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -91,7 +91,9 @@ void GameInit(void); void SystemInit(void); void TheGame(void); +#ifdef DEBUGMENU void DebugMenuPopulate(void); +#endif void @@ -328,11 +330,10 @@ Initialise3D(void *param) { if (RsRwInitialise(param)) { - // +#ifdef DEBUGMENU DebugMenuInit(); DebugMenuPopulate(); - // - +#endif // !DEBUGMENU return CGame::InitialiseRenderWare(); } @@ -343,8 +344,9 @@ static void Terminate3D(void) { CGame::ShutdownRenderWare(); - +#ifdef DEBUGMENU DebugMenuShutdown(); +#endif // !DEBUGMENU RsRwTerminate(); @@ -878,7 +880,9 @@ Render2dStuff(void) CPad::PrintErrorMessage(); CFont::DrawFonts(); +#ifdef DEBUGMENU DebugMenuRender(); +#endif } void |