[Scummvm-git-logs] scummvm master -> 091db3b8e3ef321432614020d7371340f6b354c1

sev- noreply at scummvm.org
Fri Oct 24 07:13:35 UTC 2025


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .

Summary:
7d3a8809a5 DIRECTOR: Clarified pitch mask when reading bitmaps
091db3b8e3 DIRECTOR: Improved debug output


Commit: 7d3a8809a552441c89bac5415a8e66740e305ee7
    https://github.com/scummvm/scummvm/commit/7d3a8809a552441c89bac5415a8e66740e305ee7
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-10-24T09:13:12+02:00

Commit Message:
DIRECTOR: Clarified pitch mask when reading bitmaps

Changed paths:
    engines/director/castmember/bitmap.cpp


diff --git a/engines/director/castmember/bitmap.cpp b/engines/director/castmember/bitmap.cpp
index 9718b4f7e82..cb4be58f7be 100644
--- a/engines/director/castmember/bitmap.cpp
+++ b/engines/director/castmember/bitmap.cpp
@@ -194,7 +194,7 @@ BitmapCastMember::BitmapCastMember(Cast *cast, uint16 castId, Common::SeekableRe
 		// 22 bytes
 		// This is color image flag
 		if (_pitch & 0x8000) {
-			_pitch &= 0x0fff;
+			_pitch &= 0x3fff;
 
 			_bitsPerPixel = stream.readByte();
 


Commit: 091db3b8e3ef321432614020d7371340f6b354c1
    https://github.com/scummvm/scummvm/commit/091db3b8e3ef321432614020d7371340f6b354c1
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2025-10-24T09:13:12+02:00

Commit Message:
DIRECTOR: Improved debug output

Changed paths:
    engines/director/castmember/bitmap.cpp


diff --git a/engines/director/castmember/bitmap.cpp b/engines/director/castmember/bitmap.cpp
index cb4be58f7be..0422ddeb2e2 100644
--- a/engines/director/castmember/bitmap.cpp
+++ b/engines/director/castmember/bitmap.cpp
@@ -840,7 +840,7 @@ void BitmapCastMember::load() {
 	delete img;
 	delete pic;
 
-	debugC(5, kDebugImages, "BitmapCastMember::load(): Bitmap: id: %d, w: %d, h: %d, flags1: %x, flags2: %x bytes: %x, bpp: %d clut: %s", imgId, w, h, _flags1, _flags2, _bytes, _bitsPerPixel, _clut.asString().c_str());
+	debugC(5, kDebugImages, "BitmapCastMember::load(): Bitmap: id: %d, w: %d, h: %d, flags1: %x, flags2: %x updateFlags: %x bytes: %x, bpp: %d clut: %s", imgId, w, h, _flags1, _flags2, _updateFlags, _bytes, _bitsPerPixel, _clut.asString().c_str());
 
 	_loaded = true;
 }




More information about the Scummvm-git-logs mailing list