[Scummvm-git-logs] scummvm master -> 43c3cc69c25ed0df8bff3d44e8fdf53a27246b5a

athrxx noreply at scummvm.org
Sat Mar 23 19:28:19 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:
43c3cc69c2 SCUMM: init complete palette for 16 color games


Commit: 43c3cc69c25ed0df8bff3d44e8fdf53a27246b5a
    https://github.com/scummvm/scummvm/commit/43c3cc69c25ed0df8bff3d44e8fdf53a27246b5a
Author: athrxx (athrxx at scummvm.org)
Date: 2024-03-23T20:28:03+01:00

Commit Message:
SCUMM: init complete palette for 16 color games

(Loom Mac uses color 255 for text shading, so that one at least
needs to be set)

Changed paths:
    engines/scumm/palette.cpp


diff --git a/engines/scumm/palette.cpp b/engines/scumm/palette.cpp
index b0bd9d7ca78..5ea8bd00812 100644
--- a/engines/scumm/palette.cpp
+++ b/engines/scumm/palette.cpp
@@ -243,7 +243,7 @@ void ScummEngine::resetPalette() {
 			else
 				setPaletteFromTable(tableEGAPalette, sizeof(tableEGAPalette) / 3);
 		}
-
+		setDirtyColors(0, 255);
 	} else {
 		if ((_game.platform == Common::kPlatformAmiga) && _game.version == 4) {
 			// if rendermode is set to EGA we use the full palette from the resources




More information about the Scummvm-git-logs mailing list