aboutsummaryrefslogtreecommitdiff
path: root/engines/mohawk
diff options
context:
space:
mode:
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";
}