DETECTOR: Make detectGameFilebased() return a list of MD5s and file sizes

Since we need a FSNode parent for Mac resource forks, we need to change
signature of detectGameFilebased(), too.
This commit is contained in:
Sven Hesse 2012-06-27 04:42:36 +02:00
parent 63e13c5d2c
commit 2c760cb15e
7 changed files with 19 additions and 7 deletions

View file

@ -135,7 +135,7 @@ public:
}
virtual const ADGameDescription *fallbackDetect(const FileMap &allFiles, const Common::FSList &fslist) const {
const ADGameDescription *matchedDesc = detectGameFilebased(allFiles, Touche::fileBasedFallback);
const ADGameDescription *matchedDesc = detectGameFilebased(allFiles, fslist, Touche::fileBasedFallback);
if (matchedDesc) { // We got a match
Common::String report = Common::String::format(_("Your game version has been detected using "