diff options
author | Sven Hesse | 2007-02-05 14:22:10 +0000 |
---|---|---|
committer | Sven Hesse | 2007-02-05 14:22:10 +0000 |
commit | 193349fd606129d23361b274038385c40a3eb95e (patch) | |
tree | 89ad2e4263fb4f3d8e5299893d3ffc2b18099f09 /common/advancedDetector.cpp | |
parent | 7f26069f6924b0d450b6592755ba6ab40d507a9c (diff) | |
download | scummvm-rg350-193349fd606129d23361b274038385c40a3eb95e.tar.gz scummvm-rg350-193349fd606129d23361b274038385c40a3eb95e.tar.bz2 scummvm-rg350-193349fd606129d23361b274038385c40a3eb95e.zip |
Only do the file based fallback when no matches by MD5s were found
svn-id: r25394
Diffstat (limited to 'common/advancedDetector.cpp')
-rw-r--r-- | common/advancedDetector.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/common/advancedDetector.cpp b/common/advancedDetector.cpp index faca7184d0..486a69034e 100644 --- a/common/advancedDetector.cpp +++ b/common/advancedDetector.cpp @@ -414,7 +414,11 @@ static ADList detectGame(const FSList *fslist, const Common::ADParams ¶ms, L } } - if (!filesMD5.empty() && matched.empty()) { + // We've found a match + if (!matched.empty()) + return matched; + + if (!filesMD5.empty()) { printf("MD5s of your game version are unknown. Please, report following data to\n"); printf("ScummVM team along with your game name and version:\n"); |