aboutsummaryrefslogtreecommitdiff
path: root/engines/tucker
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/tucker
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/tucker')
-rw-r--r--engines/tucker/detection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/tucker/detection.cpp b/engines/tucker/detection.cpp
index d7d829e1da..4a3313e3f7 100644
--- a/engines/tucker/detection.cpp
+++ b/engines/tucker/detection.cpp
@@ -145,7 +145,7 @@ public:
return desc != 0;
}
- virtual const ADGameDescription *fallbackDetect(const Common::FSList &fslist) const {
+ virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
for (Common::FSList::const_iterator d = fslist.begin(); d != fslist.end(); ++d) {
Common::FSList audiofslist;
if (d->isDirectory() && d->getName().equalsIgnoreCase("audio") && d->getChildren(audiofslist, Common::FSNode::kListFilesOnly)) {