[Scummvm-git-logs] scummvm master -> 2d30fcb84fdaec1afa9c757f1b9a60485c32fb66
sev-
noreply at scummvm.org
Tue Jul 5 13:22:42 UTC 2022
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:
2d30fcb84f DIRECTOR: Fix file sizes for dumped Mac resources
Commit: 2d30fcb84fdaec1afa9c757f1b9a60485c32fb66
https://github.com/scummvm/scummvm/commit/2d30fcb84fdaec1afa9c757f1b9a60485c32fb66
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2022-07-05T15:22:12+02:00
Commit Message:
DIRECTOR: Fix file sizes for dumped Mac resources
Changed paths:
engines/director/archive.cpp
diff --git a/engines/director/archive.cpp b/engines/director/archive.cpp
index bc86695082a..fca32efa2bd 100644
--- a/engines/director/archive.cpp
+++ b/engines/director/archive.cpp
@@ -210,7 +210,7 @@ void Archive::dumpChunk(Resource &res, Common::DumpFile &out) {
if (!resStream) {
return;
}
- uint32 len = res.size;
+ uint32 len = resStream->size();
if (dataSize < len) {
free(data);
More information about the Scummvm-git-logs
mailing list