dur
This commit is contained in:
@@ -431,7 +431,7 @@ void PrefsManager::ReadGamePrefsFromDisk()
|
||||
CString sGameName = GAMESTATE->GetCurrentGameDef()->m_szName;
|
||||
IniFile ini;
|
||||
ini.SetPath( GAMEPREFS_INI_PATH );
|
||||
// ini.ReadFile(); // it's OK if this fails
|
||||
ini.ReadFile(); // it's OK if this fails
|
||||
|
||||
CString sAnnouncer = sGameName, sTheme = sGameName, sNoteSkin = sGameName;
|
||||
|
||||
@@ -455,7 +455,7 @@ void PrefsManager::SaveGamePrefsToDisk()
|
||||
CString sGameName = GAMESTATE->GetCurrentGameDef()->m_szName;
|
||||
IniFile ini;
|
||||
ini.SetPath( GAMEPREFS_INI_PATH );
|
||||
// ini.ReadFile(); // it's OK if this fails
|
||||
ini.ReadFile(); // it's OK if this fails
|
||||
|
||||
ini.SetValue( sGameName, "Announcer", ANNOUNCER->GetCurAnnouncerName() );
|
||||
ini.SetValue( sGameName, "Theme", THEME->GetCurThemeName() );
|
||||
|
||||
Reference in New Issue
Block a user