diff options
author | erorcun <erayorcunus@gmail.com> | 2020-11-02 23:43:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-02 23:43:53 +0100 |
commit | 770a1f8012faf1963a219786daab6140c3df9c0c (patch) | |
tree | 26550912b3dc21256f97afad2957037dd8b4b597 /src/core/main.cpp | |
parent | Fix MemoryCard.cpp (diff) | |
parent | Update MenuScreensCustom.cpp (diff) | |
download | re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar.gz re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar.bz2 re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar.lz re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar.xz re3-770a1f8012faf1963a219786daab6140c3df9c0c.tar.zst re3-770a1f8012faf1963a219786daab6140c3df9c0c.zip |
Diffstat (limited to 'src/core/main.cpp')
-rw-r--r-- | src/core/main.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/core/main.cpp b/src/core/main.cpp index 1aa0a953..36c94043 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -64,6 +64,7 @@ #include "debugmenu.h" #include "Clock.h" #include "custompipes.h" +#include "frontendoption.h" GlobalScene Scene; @@ -404,6 +405,13 @@ Initialise3D(void *param) DebugMenuInit(); DebugMenuPopulate(); #endif // !DEBUGMENU +#ifdef CUSTOM_FRONTEND_OPTIONS + // Apparently this func. can be run multiple times at the start. + if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) { + // needs stored language and TheText to be loaded, and last TheText reload is at the start of here + CustomFrontendOptionsPopulate(); + } +#endif bool ret = CGame::InitialiseRenderWare(); #ifdef EXTENDED_PIPELINES CustomPipes::CustomPipeInit(); // need Scene.world for this |