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.
This commit is contained in:
Die4Ever 2021-09-16 03:38:02 -05:00 committed by GitHub
parent e8fb4b4898
commit 123d4dae0b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);