diff options
-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"); |