Update SettingsConfig.cpp

This commit is contained in:
Frank-74 2017-01-31 15:35:37 +00:00 committed by GitHub
parent 3488bc6c5e
commit a19e425ad4
1 changed files with 4 additions and 4 deletions

View File

@ -80,7 +80,7 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*
if (!GameIni.empty())
{
ConfigRomTitle.Format("Config: %s", g_Settings->LoadStringVal(Game_GoodName).c_str());
ConfigRomTitle.Format("Config: %s", g_Settings->LoadStringVal(Rdb_GoodName).c_str());
}
RECT rcSettingInfo;
@ -251,9 +251,9 @@ void CSettingConfig::ApplySettings(bool UpdateScreen)
if (!GameIni.empty())
{
stdstr GoodName;
if (!g_Settings->LoadStringVal(Game_GoodName, GoodName))
if (!g_Settings->LoadStringVal(Cfg_GoodName, GoodName))
{
g_Settings->SaveString(Game_GoodName, GoodName);
g_Settings->SaveString(Cfg_GoodName, GoodName);
}
}
@ -279,7 +279,7 @@ void CSettingConfig::ApplySettings(bool UpdateScreen)
stdstr GoodName = g_Settings->LoadStringVal(Rdb_GoodName);
if (GoodName.length() > 0)
{
g_Settings->SaveString(Game_GoodName, GoodName);
g_Settings->SaveString(Cfg_GoodName, GoodName);
}
}
CSettingTypeApplication::Flush();