aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
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/mohawk
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/mohawk')
-rw-r--r--engines/mohawk/detection.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/mohawk/detection.cpp b/engines/mohawk/detection.cpp
index e6f60e3cb5..f0c657897d 100644
--- a/engines/mohawk/detection.cpp
+++ b/engines/mohawk/detection.cpp
@@ -162,10 +162,14 @@ class MohawkMetaEngine : public AdvancedMetaEngine {
public:
MohawkMetaEngine() : AdvancedMetaEngine(Mohawk::gameDescriptions, sizeof(Mohawk::MohawkGameDescription), mohawkGames) {
_singleid = "mohawk";
- _fileBasedFallback = Mohawk::fileBased;
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
+
+ virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
+ return detectGameFilebased(allFiles, Mohawk::fileBased);
+ }
+
virtual const char *getName() const {
return "Mohawk";
}