aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorMax Horn2011-06-14 18:11:14 +0200
committerMax Horn2011-06-14 18:52:11 +0200
commit01f806c2dbd06d42c8e56b0a46493cf5d5a68a11 (patch)
tree3e1f3233f760aa21e7af0122a07c666374120093 /engines/gob
parent879c3c78177ee2ff95c0d22f82d3448877d6fa98 (diff)
downloadscummvm-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.cpp5
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";
}