Move some BootManager game INI code to CoreParameter
This commit is contained in:
1 parent
451c4f3c4b
commit
d73a6ea3b7
4 files changed
+32
-30
No files matched your search
@@ -96,16 +96,7 @@ bool BootCore(const std::string& _rFilename)
|
||||
return false;
|
||||
|
||||
// Load game specific settings
|
||||
std::string unique_id = StartUp.GetUniqueID();
|
||||
std::string revision_specific = StartUp.m_strRevisionSpecificUniqueID;
|
||||
StartUp.m_strGameIniDefault = File::GetSysDirectory() + GAMESETTINGS_DIR DIR_SEP + unique_id + ".ini";
|
||||
if (revision_specific != "")
|
||||
StartUp.m_strGameIniDefaultRevisionSpecific = File::GetSysDirectory() + GAMESETTINGS_DIR DIR_SEP + revision_specific + ".ini";
|
||||
else
|
||||
StartUp.m_strGameIniDefaultRevisionSpecific = "";
|
||||
StartUp.m_strGameIniLocal = File::GetUserPath(D_GAMESETTINGS_IDX) + unique_id + ".ini";
|
||||
|
||||
if (unique_id.size() == 6)
|
||||
if (StartUp.GetUniqueID().size() == 6)
|
||||
{
|
||||
IniFile game_ini = StartUp.LoadGameIni();
|
||||
|
||||
|
||||
Reference in new issue
Block a user