[Scummvm-cvs-logs] CVS: scummvm gfx.cpp,1.83,1.84
James Brown
ender at users.sourceforge.net
Sun May 5 11:37:01 CEST 2002
Update of /cvsroot/scummvm/scummvm
In directory usw-pr-cvs1:/tmp/cvs-serv16642
Modified Files:
gfx.cpp
Log Message:
Fix dig crash
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gfx.cpp,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -d -r1.83 -r1.84
--- gfx.cpp 27 Apr 2002 07:42:13 -0000 1.83
+++ gfx.cpp 5 May 2002 18:36:24 -0000 1.84
@@ -663,7 +663,7 @@
{
byte *smap_ptr, *where_draw_ptr;
int i;
- byte *zplane_list[4];
+ byte *zplane_list[6];
int bottom;
byte twobufs;
@@ -768,13 +768,13 @@
else
decompressMaskImg();
}
-
+ printf("numzbuf: %d\n", numzbuf);
for (i = 1; i < numzbuf; i++) {
uint16 offs;
if (!zplane_list[i])
continue;
-
+ printf("zbuf %d\n", i);
if (_vm->_features & GF_SMALL_HEADER)
if (_vm->_features & GF_OLD256)
offs = READ_LE_UINT16(zplane_list[i] + stripnr * 2 + 4);
More information about the Scummvm-git-logs
mailing list