diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp index c49247f5060..945e2ecd604 100644 --- a/engines/advancedDetector.cpp +++ b/engines/advancedDetector.cpp @@ -496,6 +496,7 @@ namespace Common { DECLARE_SINGLETON(MD5CacheManager); } +// Sync with engines/game.cpp static char flagsToMD5Prefix(uint32 flags) { if (flags & ADGF_MACRESFORK) { if (flags & ADGF_TAILMD5) @@ -575,7 +576,7 @@ ADDetectedGames AdvancedMetaEngineDetection::detectGame(const Common::FSNode &pa const ADGameDescription *g; const byte *descPtr; - debugC(3, kDebugGlobalDetection, "Starting detection in dir '%s'", parent.getPath().c_str()); + debugC(3, kDebugGlobalDetection, "Starting detection for engine '%s' in dir '%s'", getEngineId(), parent.getPath().c_str()); // Check which files are included in some ADGameDescription *and* whether // they are present. Compute MD5s and file sizes for the available files. @@ -691,6 +692,8 @@ ADDetectedGames AdvancedMetaEngineDetection::detectGame(const Common::FSNode &pa } } + debugC(2, "Totally found %d matches", matched.size()); + return matched; }