aboutsummaryrefslogtreecommitdiff
path: root/common/gameDetector.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'common/gameDetector.cpp')
-rw-r--r--common/gameDetector.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/gameDetector.cpp b/common/gameDetector.cpp
index 51011b9425..9e766674f2 100644
--- a/common/gameDetector.cpp
+++ b/common/gameDetector.cpp
@@ -360,8 +360,8 @@ void GameDetector::setGame(const String &name)
{
_gameFileName = name;
g_config->set_domain(name);
- g_config->rename_domain("game-specific");
- g_config->rename_domain(name);
+ g_config->rename_domain(name, "game-specific");
+ g_config->rename_domain("game-specific", name);
updateconfig();
}