Fix some bugs around game-specific config load/save (#21033)

This commit is contained in:
Henrik Rydgård authored and GitHub committed 2025-11-24 14:05:23 +01:00
1 parent 4de3927cb8
commit b71ee0ba89
9 files changed
+94 -79

No files matched your search

-1
View File
@@ -808,7 +808,6 @@ void GamePauseScreen::OnCreateConfig(UI::EventParams &e) {
if (info->Ready(GameInfoFlags::PARAM_SFO)) {
std::string gameId = info->id;
g_Config.CreateGameConfig(gameId);
g_Config.ChangeGameSpecific(gameId, info->GetTitle());
g_Config.SaveGameConfig(gameId, info->GetTitle());
if (info) {
info->hasConfig = true;