diff options
author | Max Horn | 2006-12-19 23:14:15 +0000 |
---|---|---|
committer | Max Horn | 2006-12-19 23:14:15 +0000 |
commit | 296914412064931ce13d502a20ef521fbed3197c (patch) | |
tree | 67a6273a4f74c32639c36c9528c76b9bf3cf70cc /engines | |
parent | 865d8717a3270f3b913a3fbfa64bcfc5ca746db4 (diff) | |
download | scummvm-rg350-296914412064931ce13d502a20ef521fbed3197c.tar.gz scummvm-rg350-296914412064931ce13d502a20ef521fbed3197c.tar.bz2 scummvm-rg350-296914412064931ce13d502a20ef521fbed3197c.zip |
* Simplified code in AdvancedDetector::detectGame
* Removed AdvancedDetector::setFileMD5Bytes, now AdvancedDetector::detectGame
simply takes the MD5 byte limit as an extra parameter
svn-id: r24894
Diffstat (limited to 'engines')
-rw-r--r-- | engines/kyra/plugin.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/kyra/plugin.cpp b/engines/kyra/plugin.cpp index cb98666805..a479f5b793 100644 --- a/engines/kyra/plugin.cpp +++ b/engines/kyra/plugin.cpp @@ -161,9 +161,8 @@ static ADList detectKyraGames(const FSList &fslist) { } ad.registerGameDescriptions(descList); - ad.setFileMD5Bytes(kMD5FileSizeLimit); - matches = ad.detectGame(&fslist, Common::UNK_LANG, Common::kPlatformUnknown); + matches = ad.detectGame(&fslist, kMD5FileSizeLimit, Common::UNK_LANG, Common::kPlatformUnknown); return matches; } |