[Scummvm-git-logs] scummvm master -> 9a60536a1ecb17fc13b5a132b3c101c5e74393d4
sev-
noreply at scummvm.org
Fri Jan 20 22:49:05 UTC 2023
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:
9a60536a1e JANITORIAL: Clarify comment
Commit: 9a60536a1ecb17fc13b5a132b3c101c5e74393d4
https://github.com/scummvm/scummvm/commit/9a60536a1ecb17fc13b5a132b3c101c5e74393d4
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2023-01-20T23:48:43+01:00
Commit Message:
JANITORIAL: Clarify comment
Changed paths:
engines/game.cpp
diff --git a/engines/game.cpp b/engines/game.cpp
index 1e3ffb752df..6b0df5275bc 100644
--- a/engines/game.cpp
+++ b/engines/game.cpp
@@ -269,9 +269,10 @@ Common::U32String generateUnknownGameReport(const DetectedGames &detectedGames,
if (!md5Prefix.empty())
md5Prefix += ":";
+ // Skip the md5 prefix and since we could have full paths, take it into account
Common::Path filepath(strchr(filenames[i].c_str(), ':') + 1);
report += Common::String::format(" {\"%s\", 0, \"%s%s\", %lld},\n",
- filepath.punycodeEncode().toString().c_str(), // Skip the md5 prefix
+ filepath.punycodeEncode().toString().c_str(),
md5Prefix.c_str(), file.md5.c_str(), (long long)file.size);
}
More information about the Scummvm-git-logs
mailing list