[Scummvm-git-logs] scummvm branch-2-1 -> d8810a287c391b70b52f2363f3ea6cbbd70b7b53

athrxx athrxx at scummvm.org
Thu Jan 9 20:43:00 UTC 2020


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:
d8810a287c KYRA: (LOK/Amiga) - fix save thumbnail colors


Commit: d8810a287c391b70b52f2363f3ea6cbbd70b7b53
    https://github.com/scummvm/scummvm/commit/d8810a287c391b70b52f2363f3ea6cbbd70b7b53
Author: athrxx (athrxx at scummvm.org)
Date: 2020-01-09T21:42:28+01:00

Commit Message:
KYRA: (LOK/Amiga) - fix save thumbnail colors

(I probably broke that in 04e85a0f)

Changed paths:
    engines/kyra/gui/gui_lok.cpp


diff --git a/engines/kyra/gui/gui_lok.cpp b/engines/kyra/gui/gui_lok.cpp
index 188e992..b6fec53 100644
--- a/engines/kyra/gui/gui_lok.cpp
+++ b/engines/kyra/gui/gui_lok.cpp
@@ -209,7 +209,7 @@ void GUI_LoK::createScreenThumbnail(Graphics::Surface &dst) {
 			if (_screen->isInterfacePaletteEnabled()) {
 				for (int y = 0; y < 64; ++y) {
 					for (int x = 0; x < 320; ++x) {
-						screen[(y + 136) * Screen::SCREEN_W + x] += 32;
+						screen[(y + 136) * Screen::SCREEN_W + x] |= 0x20;
 					}
 				}
 			}




More information about the Scummvm-git-logs mailing list