mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-19 07:21:40 +00:00
Move some BootManager game INI code to CoreParameter
This commit is contained in:
parent
451c4f3c4b
commit
d73a6ea3b7
4 changed files with 32 additions and 30 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue