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

athrxx athrxx at scummvm.org
Thu Jan 9 20:41:18 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:
c3ff5f9d52 KYRA: (LOK/Amiga) - fix save thumbnail colors


Commit: c3ff5f9d52d61fc7e731058c066b2c3df665a774
    https://github.com/scummvm/scummvm/commit/c3ff5f9d52d61fc7e731058c066b2c3df665a774
Author: athrxx (athrxx at scummvm.org)
Date: 2020-01-09T21:39:48+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 96a10f0..b297175 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