Advanced detector: Slightly more verbose debug output
svn-id: r38652
This commit is contained in:
parent
7bc4b8667e
commit
0901c90654
1 changed files with 4 additions and 2 deletions
|
@ -322,7 +322,10 @@ static ADGameDescList detectGame(const Common::FSList &fslist, const ADParams &p
|
||||||
const ADGameDescription *g;
|
const ADGameDescription *g;
|
||||||
const byte *descPtr;
|
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.
|
// First we compose a hashmap of all files in fslist.
|
||||||
// Includes nifty stuff like removing trailing dots and ignoring case.
|
// Includes nifty stuff like removing trailing dots and ignoring case.
|
||||||
|
@ -444,7 +447,6 @@ static ADGameDescList detectGame(const Common::FSList &fslist, const ADParams &p
|
||||||
// We didn't find a match
|
// We didn't find a match
|
||||||
if (matched.empty()) {
|
if (matched.empty()) {
|
||||||
if (!filesSizeMD5.empty()) {
|
if (!filesSizeMD5.empty()) {
|
||||||
Common::FSNode parent = fslist.begin()->getParent();
|
|
||||||
reportUnknown(parent, filesSizeMD5);
|
reportUnknown(parent, filesSizeMD5);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue