From c142838122c49811a3b77c6909705aab7121c6ff Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Sun, 25 Sep 2016 08:45:42 +0200 Subject: BASE: Change the command line interface to use engine-qualified game names Qualified game names have the following form: engineId:gameId. Unqualified game names are still supported as long as they are not ambiguous. However they are considered deprecated and are no longer displayed by the --list-games command. --- base/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'base/main.cpp') diff --git a/base/main.cpp b/base/main.cpp index 85fdbb2986..5df9fec22e 100644 --- a/base/main.cpp +++ b/base/main.cpp @@ -219,7 +219,7 @@ static Common::Error runGame(const Plugin *plugin, OSystem &system, const Common Common::String caption(ConfMan.get("description")); if (caption.empty()) { - PlainGameDescriptor game = EngineMan.findTarget(ConfMan.getActiveDomainName()); + QualifiedGameDescriptor game = EngineMan.findTarget(ConfMan.getActiveDomainName()); if (game.description) { caption = game.description; } -- cgit v1.2.3