aboutsummaryrefslogtreecommitdiff
path: root/engines/touche
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/touche
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/touche')
-rw-r--r--engines/touche/detection.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/engines/touche/detection.cpp b/engines/touche/detection.cpp
index d1dde96f59..723fecec3a 100644
--- a/engines/touche/detection.cpp
+++ b/engines/touche/detection.cpp
@@ -131,11 +131,15 @@ public:
ToucheMetaEngine() : AdvancedMetaEngine(Touche::gameDescriptions, sizeof(ADGameDescription), toucheGames) {
_md5Bytes = 4096;
_singleid = "touche";
- _fileBasedFallback = Touche::fileBasedFallback;
_flags = kADFlagPrintWarningOnFileBasedFallback;
_maxScanDepth = 2;
_directoryGlobs = directoryGlobs;
}
+
+ virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
+ return detectGameFilebased(allFiles, Touche::fileBasedFallback);
+ }
+
virtual const char *getName() const {
return "Touche";
}