[Scummvm-cvs-logs] SF.net SVN: scummvm: [25394] scummvm/trunk/common/advancedDetector.cpp

drmccoy at users.sourceforge.net drmccoy at users.sourceforge.net
Mon Feb 5 15:22:10 CET 2007


Revision: 25394
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25394&view=rev
Author:   drmccoy
Date:     2007-02-05 06:22:10 -0800 (Mon, 05 Feb 2007)

Log Message:
-----------
Only do the file based fallback when no matches by MD5s were found

Modified Paths:
--------------
    scummvm/trunk/common/advancedDetector.cpp

Modified: scummvm/trunk/common/advancedDetector.cpp
===================================================================
--- scummvm/trunk/common/advancedDetector.cpp	2007-02-05 14:08:50 UTC (rev 25393)
+++ scummvm/trunk/common/advancedDetector.cpp	2007-02-05 14:22:10 UTC (rev 25394)
@@ -414,7 +414,11 @@
 		}
 	}
 
-	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");
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list