From ae9f764c7ac4fcc418ca7182163f4e9646f4bc31 Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 15 Sep 2016 18:43:42 +0200 Subject: ENGINES: Automatically upgrade the targets on launch to add an engine ID --- base/commandLine.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'base/commandLine.cpp') 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); -- cgit v1.2.3