aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
diff options
context:
space:
mode:
authorMax Horn2011-06-14 18:02:09 +0200
committerMax Horn2011-06-14 18:52:11 +0200
commit879c3c78177ee2ff95c0d22f82d3448877d6fa98 (patch)
tree7a51efd1a5a77fbb89791b1a9a3ec2f5a87c1656 /engines/tinsel
parent64e523141fa619c1632dcb2b215cfd85c41ef5a1 (diff)
downloadscummvm-rg350-879c3c78177ee2ff95c0d22f82d3448877d6fa98.tar.gz
scummvm-rg350-879c3c78177ee2ff95c0d22f82d3448877d6fa98.tar.bz2
scummvm-rg350-879c3c78177ee2ff95c0d22f82d3448877d6fa98.zip
DETECTOR: Pass allFiles to AdvancedMetaEngine::fallbackDetect()
Also reorder the parameters of composeFileHashMap, placing the "return value" first.
Diffstat (limited to 'engines/tinsel')
-rw-r--r--engines/tinsel/detection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp
index 6a221da0eb..9c52305a1c 100644
--- a/engines/tinsel/detection.cpp
+++ b/engines/tinsel/detection.cpp
@@ -89,7 +89,7 @@ public:
}
virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const;
- const ADGameDescription *fallbackDetect(const Common::FSList &fslist) const;
+ const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const;
virtual bool hasFeature(MetaEngineFeature f) const;
virtual SaveStateList listSaves(const char *target) const;
@@ -175,7 +175,7 @@ typedef Common::Array<const ADGameDescription*> ADGameDescList;
* Fallback detection scans the list of Discworld 2 targets to see if it can detect an installation
* where the files haven't been renamed (i.e. don't have the '1' just before the extension)
*/
-const ADGameDescription *TinselMetaEngine::fallbackDetect(const Common::FSList &fslist) const {
+const ADGameDescription *TinselMetaEngine::fallbackDetect(const FileMap &allFilesXXX, const Common::FSList &fslist) const {
Common::String extra;
FileMap allFiles;
SizeMD5Map filesSizeMD5;