From a19e425ad4bfc23d1506e3d73ab48e034942d142 Mon Sep 17 00:00:00 2001 From: Frank-74 Date: Tue, 31 Jan 2017 15:35:37 +0000 Subject: [PATCH] Update SettingsConfig.cpp --- Source/Project64/UserInterface/SettingsConfig.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Project64/UserInterface/SettingsConfig.cpp b/Source/Project64/UserInterface/SettingsConfig.cpp index 110b792bc..cfd8be780 100644 --- a/Source/Project64/UserInterface/SettingsConfig.cpp +++ b/Source/Project64/UserInterface/SettingsConfig.cpp @@ -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();