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/scumm | |
| 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/scumm')
| -rw-r--r-- | engines/scumm/detection.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/scumm/detection.cpp b/engines/scumm/detection.cpp index 2ba5bd3f74..6276f1ae41 100644 --- a/engines/scumm/detection.cpp +++ b/engines/scumm/detection.cpp @@ -959,7 +959,7 @@ public: virtual const char *getOriginalCopyright() const; virtual bool hasFeature(MetaEngineFeature f) const; - virtual GameList getSupportedGames() const; + PlainGameList getSupportedGames() const override; PlainGameDescriptor findGame(const char *gameid) const override; virtual DetectedGames detectGames(const Common::FSList &fslist) const override; @@ -992,8 +992,8 @@ bool ScummEngine::hasFeature(EngineFeature f) const { (f == kSupportsSubtitleOptions); } -GameList ScummMetaEngine::getSupportedGames() const { - return GameList(gameDescriptions); +PlainGameList ScummMetaEngine::getSupportedGames() const { + return PlainGameList(gameDescriptions); } PlainGameDescriptor ScummMetaEngine::findGame(const char *gameid) const { |
