aboutsummaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorBastien Bouclet2018-05-06 13:09:52 +0200
committerBastien Bouclet2018-05-10 09:04:23 +0200
commit643c24db75797728087999abd8acf1ecc83757fa (patch)
tree7f35b6b3b637139aaa2a8bef8c1836583e2291a5 /base
parent8fb149e3c7603f023dfccf2b2056a9a2fda431c2 (diff)
downloadscummvm-rg350-643c24db75797728087999abd8acf1ecc83757fa.tar.gz
scummvm-rg350-643c24db75797728087999abd8acf1ecc83757fa.tar.bz2
scummvm-rg350-643c24db75797728087999abd8acf1ecc83757fa.zip
ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptors
Diffstat (limited to 'base')
-rw-r--r--base/commandLine.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/commandLine.cpp b/base/commandLine.cpp
index 0755165094..1c7916c48f 100644
--- a/base/commandLine.cpp
+++ b/base/commandLine.cpp
@@ -687,9 +687,9 @@ static void listGames() {
const PluginList &plugins = EngineMan.getPlugins();
for (PluginList::const_iterator iter = plugins.begin(); iter != plugins.end(); ++iter) {
- GameList list = (*iter)->get<MetaEngine>().getSupportedGames();
- for (GameList::iterator v = list.begin(); v != list.end(); ++v) {
- printf("%-20s %s\n", v->gameid().c_str(), v->description().c_str());
+ PlainGameList list = (*iter)->get<MetaEngine>().getSupportedGames();
+ for (PlainGameList::iterator v = list.begin(); v != list.end(); ++v) {
+ printf("%-20s %s\n", v->gameId, v->description);
}
}
}