[Scummvm-git-logs] scummvm master -> 50c5ee2b776b3be014796ef33c276da92bf26417

athrxx noreply at scummvm.org
Sat May 11 00:19:25 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:
50c5ee2b77 SCUMM: (FM-Towns) - fix regression


Commit: 50c5ee2b776b3be014796ef33c276da92bf26417
    https://github.com/scummvm/scummvm/commit/50c5ee2b776b3be014796ef33c276da92bf26417
Author: athrxx (athrxx at scummvm.org)
Date: 2024-05-11T02:18:05+02:00

Commit Message:
SCUMM: (FM-Towns) - fix regression

(bug no. 15121 - MI2 (FM Towns) - Difficulty selection
screen looks wrong)

Changed paths:
    engines/scumm/gfx.cpp


diff --git a/engines/scumm/gfx.cpp b/engines/scumm/gfx.cpp
index 8415a2e1d52..7857988f7fe 100644
--- a/engines/scumm/gfx.cpp
+++ b/engines/scumm/gfx.cpp
@@ -1584,6 +1584,7 @@ void ScummEngine::drawBox(int x, int y, int x2, int y2, int color) {
 						height++;
 				}
 
+				color = ((color & 0x0f) << 4) | (color & 0x0f);
 				// Some FM-Towns games draw directly on layer 2, without setting the virtscreeb dirty, bypassing the
 				// normal drawing routines. It can make a difference, e. g. bug no. 15027 ("INDY3 (FMTowns): Map lines
 				// are drawn incorrectly, plus more issues when leaving Germany"). Making the virtscreen dirty, would




More information about the Scummvm-git-logs mailing list