[Scummvm-cvs-logs] SF.net SVN: scummvm:[38652] scummvm/trunk/engines/advancedDetector.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sat Feb 21 03:59:47 CET 2009
Revision: 38652
http://scummvm.svn.sourceforge.net/scummvm/?rev=38652&view=rev
Author: fingolfin
Date: 2009-02-21 02:59:45 +0000 (Sat, 21 Feb 2009)
Log Message:
-----------
Advanced detector: Slightly more verbose debug output
Modified Paths:
--------------
scummvm/trunk/engines/advancedDetector.cpp
Modified: scummvm/trunk/engines/advancedDetector.cpp
===================================================================
--- scummvm/trunk/engines/advancedDetector.cpp 2009-02-21 00:18:02 UTC (rev 38651)
+++ scummvm/trunk/engines/advancedDetector.cpp 2009-02-21 02:59:45 UTC (rev 38652)
@@ -322,7 +322,10 @@
const ADGameDescription *g;
const byte *descPtr;
- debug(3, "Starting detection");
+ if (fslist.empty())
+ return ADGameDescList();
+ Common::FSNode parent = fslist.begin()->getParent();
+ debug(3, "Starting detection in dir '%s'", parent.getPath().c_str());
// First we compose a hashmap of all files in fslist.
// Includes nifty stuff like removing trailing dots and ignoring case.
@@ -444,7 +447,6 @@
// We didn't find a match
if (matched.empty()) {
if (!filesSizeMD5.empty()) {
- Common::FSNode parent = fslist.begin()->getParent();
reportUnknown(parent, filesSizeMD5);
}
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