diff options
author | Bastien Bouclet | 2018-05-06 13:09:52 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 09:04:23 +0200 |
commit | 643c24db75797728087999abd8acf1ecc83757fa (patch) | |
tree | 7f35b6b3b637139aaa2a8bef8c1836583e2291a5 /engines/sky | |
parent | 8fb149e3c7603f023dfccf2b2056a9a2fda431c2 (diff) | |
download | scummvm-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 'engines/sky')
-rw-r--r-- | engines/sky/detection.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/sky/detection.cpp b/engines/sky/detection.cpp index 629996bae1..ffed998ab1 100644 --- a/engines/sky/detection.cpp +++ b/engines/sky/detection.cpp @@ -76,7 +76,7 @@ public: virtual const char *getOriginalCopyright() const; virtual bool hasFeature(MetaEngineFeature f) const; - virtual GameList getSupportedGames() const; + PlainGameList getSupportedGames() const override; virtual const ExtraGuiOptions getExtraGuiOptions(const Common::String &target) const; PlainGameDescriptor findGame(const char *gameid) const override; DetectedGames detectGames(const Common::FSList &fslist) const override; @@ -110,9 +110,9 @@ bool Sky::SkyEngine::hasFeature(EngineFeature f) const { (f == kSupportsSavingDuringRuntime); } -GameList SkyMetaEngine::getSupportedGames() const { - GameList games; - games.push_back(GameDescriptor(skySetting)); +PlainGameList SkyMetaEngine::getSupportedGames() const { + PlainGameList games; + games.push_back(skySetting); return games; } |