[Scummvm-git-logs] scummvm master -> 123d4dae0bf14a2103ab0202717eb1527b35e906

bluegr bluegr at gmail.com
Thu Sep 16 08:38:06 UTC 2021


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

Summary:
123d4dae0b COMMON: logging hashes when starting a game (#3372)


Commit: 123d4dae0bf14a2103ab0202717eb1527b35e906
    https://github.com/scummvm/scummvm/commit/123d4dae0bf14a2103ab0202717eb1527b35e906
Author: Die4Ever (30947252+Die4Ever at users.noreply.github.com)
Date: 2021-09-16T11:38:02+03:00

Commit Message:
COMMON: logging hashes when starting a game (#3372)

I figure this would be helpful when people submit their log files, so we know what version of the game they're running.

Changed paths:
    engines/advancedDetector.cpp


diff --git a/engines/advancedDetector.cpp b/engines/advancedDetector.cpp
index 78be137b21..c668ed0ace 100644
--- a/engines/advancedDetector.cpp
+++ b/engines/advancedDetector.cpp
@@ -418,7 +418,10 @@ Common::Error AdvancedMetaEngineDetection::createInstance(OSystem *syst, Engine
 		return Common::kUserCanceled;
 	}
 
-	debugC(2, kDebugGlobalDetection, "Running %s", gameDescriptor.description.c_str());
+	debug("Running %s", gameDescriptor.description.c_str());
+	for (FilePropertiesMap::const_iterator i = gameDescriptor.matchedFiles.begin(); i != gameDescriptor.matchedFiles.end(); ++i) {
+		debug("%s: %s, %llu bytes.", i->_key.c_str(), i->_value.md5.c_str(), (unsigned long long)i->_value.size);
+	}
 	initSubSystems(agdDesc.desc);
 
 	PluginList pl = EngineMan.getPlugins(PLUGIN_TYPE_ENGINE);




More information about the Scummvm-git-logs mailing list