[Scummvm-git-logs] scummvm master -> c5f311630088bea262e7539fdff6399ea668b332

eriktorbjorn eriktorbjorn at telia.com
Wed Jul 14 06:24:53 UTC 2021


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:
c5f3116300 SCUMM: Make white be 0xFFFFFF in MacintoshBW rendering mode


Commit: c5f311630088bea262e7539fdff6399ea668b332
    https://github.com/scummvm/scummvm/commit/c5f311630088bea262e7539fdff6399ea668b332
Author: Torbjörn Andersson (eriktorbjorn at users.sourceforge.net)
Date: 2021-07-14T08:24:36+02:00

Commit Message:
SCUMM: Make white be 0xFFFFFF in MacintoshBW rendering mode

The Macintosh "EGA" palette would make it 0xFCFCFC. The difference is
probably not noticeable.

Changed paths:
    engines/scumm/palette.cpp


diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp
index c89df06dff..084f0c0c93 100644
--- a/engines/scumm/palette.cpp
+++ b/engines/scumm/palette.cpp
@@ -215,6 +215,10 @@ void ScummEngine::resetPalette() {
 
 		switch (_renderMode) {
 		case Common::kRenderEGA:
+		case Common::kRenderMacintoshBW:
+			// Use EGA palette for MacintoshBW, because that makes
+			// white 0xFFFFFF there. The Mac EGA palette, would
+			// make it 0xFCFCFC.
 			setPaletteFromTable(tableEGAPalette, sizeof(tableEGAPalette) / 3);
 			break;
 




More information about the Scummvm-git-logs mailing list