move cfo populate func.
This commit is contained in:
parent
cd24936ca9
commit
38a1fef5c1
@ -3744,13 +3744,7 @@ CMenuManager::LoadSettings()
|
|||||||
strcpy(m_PrefsSkinFile, DEFAULT_SKIN_NAME);
|
strcpy(m_PrefsSkinFile, DEFAULT_SKIN_NAME);
|
||||||
strcpy(m_aSkinName, DEFAULT_SKIN_NAME);
|
strcpy(m_aSkinName, DEFAULT_SKIN_NAME);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CUSTOM_FRONTEND_OPTIONS
|
|
||||||
// Apparently this func. can be run multiple times at the start.
|
|
||||||
if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0) {
|
|
||||||
CustomFrontendOptionsPopulate();
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
#ifdef LOAD_INI_SETTINGS
|
#ifdef LOAD_INI_SETTINGS
|
||||||
LoadINISettings(); // needs frontend options to be loaded
|
LoadINISettings(); // needs frontend options to be loaded
|
||||||
#endif
|
#endif
|
||||||
|
@ -32,6 +32,7 @@
|
|||||||
#include "Fluff.h"
|
#include "Fluff.h"
|
||||||
#include "Font.h"
|
#include "Font.h"
|
||||||
#include "Frontend.h"
|
#include "Frontend.h"
|
||||||
|
#include "frontendoption.h"
|
||||||
#include "GameLogic.h"
|
#include "GameLogic.h"
|
||||||
#include "Garages.h"
|
#include "Garages.h"
|
||||||
#include "GenericGameStorage.h"
|
#include "GenericGameStorage.h"
|
||||||
@ -167,6 +168,11 @@ CGame::InitialiseOnceBeforeRW(void)
|
|||||||
ValidateVersion();
|
ValidateVersion();
|
||||||
#ifdef EXTENDED_COLOURFILTER
|
#ifdef EXTENDED_COLOURFILTER
|
||||||
CPostFX::InitOnce();
|
CPostFX::InitOnce();
|
||||||
|
#endif
|
||||||
|
#ifdef CUSTOM_FRONTEND_OPTIONS
|
||||||
|
// Not needed here but may be needed in future
|
||||||
|
// if (numCustomFrontendOptions == 0 && numCustomFrontendScreens == 0)
|
||||||
|
CustomFrontendOptionsPopulate();
|
||||||
#endif
|
#endif
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user