diff options
author | Bastien Bouclet | 2016-09-25 08:45:42 +0200 |
---|---|---|
committer | Bastien Bouclet | 2019-11-03 11:43:00 +0100 |
commit | c142838122c49811a3b77c6909705aab7121c6ff (patch) | |
tree | 584abe3781b731f45ee09850a1bc481b3d04c7b6 /base/main.cpp | |
parent | 47a2b2a9a21c0134254cc9cb2990cc30c7ca1a66 (diff) | |
download | scummvm-rg350-c142838122c49811a3b77c6909705aab7121c6ff.tar.gz scummvm-rg350-c142838122c49811a3b77c6909705aab7121c6ff.tar.bz2 scummvm-rg350-c142838122c49811a3b77c6909705aab7121c6ff.zip |
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.
Diffstat (limited to 'base/main.cpp')
-rw-r--r-- | base/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |