diff options
author | Max Horn | 2011-06-14 18:11:14 +0200 |
---|---|---|
committer | Max Horn | 2011-06-14 18:52:11 +0200 |
commit | 01f806c2dbd06d42c8e56b0a46493cf5d5a68a11 (patch) | |
tree | 3e1f3233f760aa21e7af0122a07c666374120093 /engines/gob | |
parent | 879c3c78177ee2ff95c0d22f82d3448877d6fa98 (diff) | |
download | scummvm-rg350-01f806c2dbd06d42c8e56b0a46493cf5d5a68a11.tar.gz scummvm-rg350-01f806c2dbd06d42c8e56b0a46493cf5d5a68a11.tar.bz2 scummvm-rg350-01f806c2dbd06d42c8e56b0a46493cf5d5a68a11.zip |
DETECTOR: Treat file based fallback like any other fallback method
Diffstat (limited to 'engines/gob')
-rw-r--r-- | engines/gob/detection.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/gob/detection.cpp b/engines/gob/detection.cpp index 2050539d60..9a554b5429 100644 --- a/engines/gob/detection.cpp +++ b/engines/gob/detection.cpp @@ -91,7 +91,6 @@ class GobMetaEngine : public AdvancedMetaEngine { public: GobMetaEngine() : AdvancedMetaEngine(Gob::gameDescriptions, sizeof(Gob::GOBGameDescription), gobGames) { _singleid = "gob"; - _fileBasedFallback = Gob::fileBased; _guioptions = Common::GUIO_NOLAUNCHLOAD; } @@ -99,6 +98,10 @@ public: return Engines::findGameID(gameid, _gameids, obsoleteGameIDsTable); } + virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const { + return detectGameFilebased(allFiles, Gob::fileBased); + } + virtual const char *getName() const { return "Gob"; } |