[Scummvm-cvs-logs] scummvm master -> dbdf77660e87eefbe7991794da512b8058de54d4

m-kiewitz m_kiewitz at users.sourceforge.net
Thu Feb 4 00:56:41 CET 2016


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:
dbdf77660e AGI: Fix disabled look to work properly in menus


Commit: dbdf77660e87eefbe7991794da512b8058de54d4
    https://github.com/scummvm/scummvm/commit/dbdf77660e87eefbe7991794da512b8058de54d4
Author: Martin Kiewitz (m_kiewitz at users.sourceforge.net)
Date: 2016-02-04T00:55:53+01:00

Commit Message:
AGI: Fix disabled look to work properly in menus

Changed paths:
    engines/agi/graphics.cpp



diff --git a/engines/agi/graphics.cpp b/engines/agi/graphics.cpp
index a17d7ff..643f057 100644
--- a/engines/agi/graphics.cpp
+++ b/engines/agi/graphics.cpp
@@ -636,7 +636,7 @@ void GfxMgr::drawCharacter(int16 row, int16 column, byte character, byte foregro
 			transformXOR = 0xFF;
 		}
 		if (disabledLook) {
-			transformOR = 0xAA;
+			transformOR = 0x55;
 		}
 	}
 
@@ -679,6 +679,8 @@ void GfxMgr::drawCharacterOnDisplay(int16 x, int16 y, const byte character, byte
 			}
 			curBit = curBit >> 1;
 		}
+		if (transformOR)
+			transformOR ^= 0xFF;
 	}
 
 	copyDisplayRectToScreen(x, y, FONT_DISPLAY_WIDTH, FONT_DISPLAY_HEIGHT);






More information about the Scummvm-git-logs mailing list