Update SettingsConfig.cpp
This commit is contained in:
parent
3488bc6c5e
commit
a19e425ad4
|
@ -80,7 +80,7 @@ LRESULT CSettingConfig::OnInitDialog(UINT /*uMsg*/, WPARAM /*wParam*/, LPARAM /*
|
||||||
|
|
||||||
if (!GameIni.empty())
|
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;
|
RECT rcSettingInfo;
|
||||||
|
@ -251,9 +251,9 @@ void CSettingConfig::ApplySettings(bool UpdateScreen)
|
||||||
if (!GameIni.empty())
|
if (!GameIni.empty())
|
||||||
{
|
{
|
||||||
stdstr GoodName;
|
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);
|
stdstr GoodName = g_Settings->LoadStringVal(Rdb_GoodName);
|
||||||
if (GoodName.length() > 0)
|
if (GoodName.length() > 0)
|
||||||
{
|
{
|
||||||
g_Settings->SaveString(Game_GoodName, GoodName);
|
g_Settings->SaveString(Cfg_GoodName, GoodName);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
CSettingTypeApplication::Flush();
|
CSettingTypeApplication::Flush();
|
||||||
|
|
Loading…
Reference in New Issue