[Scummvm-git-logs] scummvm master -> a9a77a748e3c618b283ce4320e91d040fb498d4f
sev-
noreply at scummvm.org
Mon Jul 8 18:15:18 UTC 2024
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:
a9a77a748e DIRECTOR: Hide RTE cast member hexdump behind the `text` debug flag
Commit: a9a77a748e3c618b283ce4320e91d040fb498d4f
https://github.com/scummvm/scummvm/commit/a9a77a748e3c618b283ce4320e91d040fb498d4f
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2024-07-08T20:15:07+02:00
Commit Message:
DIRECTOR: Hide RTE cast member hexdump behind the `text` debug flag
Changed paths:
engines/director/rte.cpp
diff --git a/engines/director/rte.cpp b/engines/director/rte.cpp
index 5f0c347370b..8ffa1bd0b34 100644
--- a/engines/director/rte.cpp
+++ b/engines/director/rte.cpp
@@ -39,7 +39,9 @@ RTE1::RTE1(Cast *cast, Common::SeekableReadStreamEndian &stream) : _cast(cast) {
}
RTE2::RTE2(Cast *cast, Common::SeekableReadStreamEndian &stream) : _cast(cast) {
- stream.hexdump(stream.size());
+ if (debugChannelSet(2, kDebugText))
+ stream.hexdump(stream.size());
+
width = stream.readUint16BE();
height = stream.readUint16BE();
bpp = stream.readUint16BE();
More information about the Scummvm-git-logs
mailing list