diff options
author | Max Horn | 2011-06-14 18:02:09 +0200 |
---|---|---|
committer | Max Horn | 2011-06-14 18:52:11 +0200 |
commit | 879c3c78177ee2ff95c0d22f82d3448877d6fa98 (patch) | |
tree | 7a51efd1a5a77fbb89791b1a9a3ec2f5a87c1656 /engines/agi | |
parent | 64e523141fa619c1632dcb2b215cfd85c41ef5a1 (diff) | |
download | scummvm-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/agi')
-rw-r--r-- | engines/agi/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agi/detection.cpp b/engines/agi/detection.cpp index 427ffef1ad..21ff5deb2c 100644 --- a/engines/agi/detection.cpp +++ b/engines/agi/detection.cpp @@ -155,7 +155,7 @@ public: virtual void removeSaveState(const char *target, int slot) const; SaveStateDescriptor querySaveMetaInfos(const char *target, int slot) const; - const ADGameDescription *fallbackDetect(const Common::FSList &fslist) const; + const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const; }; bool AgiMetaEngine::hasFeature(MetaEngineFeature f) const { @@ -293,7 +293,7 @@ SaveStateDescriptor AgiMetaEngine::querySaveMetaInfos(const char *target, int sl return SaveStateDescriptor(); } -const ADGameDescription *AgiMetaEngine::fallbackDetect(const Common::FSList &fslist) const { +const ADGameDescription *AgiMetaEngine::fallbackDetect(const FileMap &allFilesXXX, const Common::FSList &fslist) const { typedef Common::HashMap<Common::String, int32> IntMap; IntMap allFiles; bool matchedUsingFilenames = false; |