[Scummvm-git-logs] scummvm master -> 5877eae6f4e08f6e2a912588a4bd1a41c3e2f0aa
sev-
sev at scummvm.org
Thu Jul 16 11:38:22 UTC 2020
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:
5877eae6f4 DIRECTOR: Catch more stuff with buildbot, more debug output
Commit: 5877eae6f4e08f6e2a912588a4bd1a41c3e2f0aa
https://github.com/scummvm/scummvm/commit/5877eae6f4e08f6e2a912588a4bd1a41c3e2f0aa
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2020-07-16T13:37:53+02:00
Commit Message:
DIRECTOR: Catch more stuff with buildbot, more debug output
Changed paths:
engines/director/castmember.cpp
diff --git a/engines/director/castmember.cpp b/engines/director/castmember.cpp
index a582e6d011..bafa8b8339 100644
--- a/engines/director/castmember.cpp
+++ b/engines/director/castmember.cpp
@@ -112,14 +112,21 @@ BitmapCastMember::BitmapCastMember(Cast *cast, uint16 castId, Common::ReadStream
_autoHilite = (_flags2 % 4 != 0);
int tail = 0;
+ byte buf[256];
while (!stream.eos()) {
- stream.readByte();
+ byte c = stream.readByte();
+ if (tail < 256)
+ buf[tail] = c;
tail++;
}
- if (tail > 8) {
- warning("BitmapCastMember: %d bytes left", tail);
+ if (tail)
+ warning("BUILDBOT: BitmapCastMember: %d bytes left", tail);
+
+ if (tail && debugChannelSet(2, kDebugLoading)) {
+ debug("BitmapCastMember: tail");
+ Common::hexdump(buf, tail);
}
} else if (version == 5) {
uint16 count = stream.readUint16();
@@ -372,7 +379,7 @@ TextCastMember::TextCastMember(Cast *cast, uint16 castId, Common::ReadStreamEndi
byte flags2 = stream.readByte();
if (flags || flags2)
- warning("Unprocessed text cast flags: %x, flags:2 %x", flags, flags2);
+ warning("BUILDBOT: Unprocessed text cast flags: %x, flags:2 %x", flags, flags2);
_fontSize = stream.readUint16();
_textSlant = 0;
More information about the Scummvm-git-logs
mailing list