[Scummvm-git-logs] scummvm master -> a526eafb0955747f8b9310675d8a24d59b97b2bd

sev- noreply at scummvm.org
Sun Jul 31 14:46:12 UTC 2022


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
281c7a3acb AD: Added more debug output
a526eafb09 AD: Do not add directories to files map


Commit: 281c7a3acb2e300fa27885391b669494de14908c
    https://github.com/scummvm/scummvm/commit/281c7a3acb2e300fa27885391b669494de14908c
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-07-31T16:44:33+02:00

Commit Message:
AD: Added more debug output

Changed paths:
    engines/advancedDetector.cpp


diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index c452834b8d7..b1f9825b167 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -490,6 +490,8 @@ void AdvancedMetaEngineDetection::composeFileHashMap(FileMap &allFiles, const Co
 		if (efname.lastChar() == '.')
 			efname.deleteLastChar();
 
+		debugC(9, kDebugGlobalDetection, "$$ ['%s'] ['%s'] in '%s", tstr.c_str(), efname.c_str(), firstPathComponents(fslist.front().getPath(), '/').c_str());
+
 		allFiles[tstr] = *file;		// Record the presence of this file
 		allFiles[efname] = *file;	// ...and its file name
 	}


Commit: a526eafb0955747f8b9310675d8a24d59b97b2bd
    https://github.com/scummvm/scummvm/commit/a526eafb0955747f8b9310675d8a24d59b97b2bd
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-07-31T16:44:55+02:00

Commit Message:
AD: Do not add directories to files map

Changed paths:
    engines/advancedDetector.cpp


diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index b1f9825b167..351606e6fdd 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -481,6 +481,7 @@ void AdvancedMetaEngineDetection::composeFileHashMap(FileMap &allFiles, const Co
 				continue;
 
 			composeFileHashMap(allFiles, files, depth - 1, tstr);
+			continue;
 		}
 
 		// Strip any trailing dot




More information about the Scummvm-git-logs mailing list