aboutsummaryrefslogtreecommitdiff
path: root/base/commandLine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'base/commandLine.cpp')
-rw-r--r--base/commandLine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 74a5982f32..5c823b2425 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -769,6 +769,7 @@ static Common::Error listSaves(const Common::String &target) {
const Plugin *plugin = nullptr;
PlainGameDescriptor game;
if (domain) {
+ EngineMan.upgradeTargetIfNecessary(target);
game = EngineMan.findTarget(target, &plugin);
} else {
game = EngineMan.findGame(target, &plugin);