[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.208,2.209
Travis Howell
kirben at users.sourceforge.net
Sun Aug 31 22:08:06 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv2015/scumm
Modified Files:
gfx.cpp
Log Message:
Add work around for color cycling been used in monkeyvga when it shouldn't.
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.208
retrieving revision 2.209
diff -u -d -r2.208 -r2.209
--- gfx.cpp 29 Aug 2003 07:57:20 -0000 2.208
+++ gfx.cpp 1 Sep 2003 05:07:43 -0000 2.209
@@ -2713,7 +2713,12 @@
ptr += 2;
byte start = *ptr++;
byte end = *ptr++;
- if (!delay || start >= end)
+
+ // FIXME This value has another meaning
+ if (delay == 0x0aaa)
+ continue;
+
+ if (!delay || delay == 0x0aaa || start >= end)
continue;
cycl->counter = 0;
More information about the Scummvm-git-logs
mailing list