[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.68,1.69

Max Horn fingolfin at users.sourceforge.net
Sat Nov 30 18:12:02 CET 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv17411

Modified Files:
	gfx.cpp 
Log Message:
fixed my workaround for the palette bug in MIVGA

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -d -r1.68 -r1.69
--- gfx.cpp	29 Nov 2002 15:13:20 -0000	1.68
+++ gfx.cpp	1 Dec 2002 02:11:19 -0000	1.69
@@ -452,7 +452,7 @@
 		// check for that. And somebody before me added a check for V7 games, turning this
 		// off there, too... I wonder if it hurts other games, too? What exactly is broken
 		// if we remove this patch?
-		if ((_features & GID_MONKEY_VGA) || (_features & GF_AFTER_V7) || (i <= 15 || r < 252 || g < 252 || b < 252)) {
+		if ((_gameId == GID_MONKEY_VGA) || (_features & GF_AFTER_V7) || (i <= 15 || r < 252 || g < 252 || b < 252)) {
 			*dest++ = r;
 			*dest++ = g;
 			*dest++ = b;





More information about the Scummvm-git-logs mailing list