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/made | |
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/made')
-rw-r--r-- | engines/made/detection.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/made/detection.cpp b/engines/made/detection.cpp index fcbee9cb32..e8c948af4e 100644 --- a/engines/made/detection.cpp +++ b/engines/made/detection.cpp @@ -542,7 +542,7 @@ public: virtual bool hasFeature(MetaEngineFeature f) const; virtual bool createInstance(OSystem *syst, Engine **engine, const ADGameDescription *desc) const; - const ADGameDescription *fallbackDetect(const Common::FSList &fslist) const; + const ADGameDescription *fallbackDetect(const Common::FSList &fslist, const FileMap &allFiles) const; }; @@ -564,7 +564,7 @@ bool MadeMetaEngine::createInstance(OSystem *syst, Engine **engine, const ADGame return gd != 0; } -const ADGameDescription *MadeMetaEngine::fallbackDetect(const Common::FSList &fslist) const { +const ADGameDescription *MadeMetaEngine::fallbackDetect(const Common::FSList &fslist, const FileMap &allFiles) const { // Set the default values for the fallback descriptor's ADGameDescription part. Made::g_fallbackDesc.desc.language = Common::UNK_LANG; Made::g_fallbackDesc.desc.platform = Common::kPlatformPC; |