Just some renaming and cleanup

This commit is contained in:
Henrik Rydgård committed 2025-11-04 23:39:56 +01:00
1 parent 1facc4d485
commit 4edb8e53cd
9 files changed
+60 -53

No files matched your search

+3 -3
View File
@@ -209,7 +209,7 @@ void GameSettingsScreen::PreCreateViews() {
if (editThenRestore_) {
std::shared_ptr<GameInfo> info = g_gameInfoCache->GetInfo(nullptr, gamePath_, GameInfoFlags::PARAM_SFO);
g_Config.loadGameConfig(gameID_, info->GetTitle());
g_Config.LoadGameConfig(gameID_, info->GetTitle());
}
iAlternateSpeedPercent1_ = g_Config.iFpsLimit1 < 0 ? -1 : (g_Config.iFpsLimit1 * 100) / 60;
@@ -1625,8 +1625,8 @@ void GameSettingsScreen::onFinish(DialogResult result) {
if (editThenRestore_) {
// In case we didn't have the title yet before, try again.
std::shared_ptr<GameInfo> info = g_gameInfoCache->GetInfo(nullptr, gamePath_, GameInfoFlags::PARAM_SFO);
g_Config.changeGameSpecific(gameID_, info->GetTitle());
g_Config.unloadGameConfig();
g_Config.ChangeGameSpecific(gameID_, info->GetTitle());
g_Config.UnloadGameConfig();
}
System_Notify(SystemNotification::UI);