diff options
author | James Brown | 2002-05-05 18:36:24 +0000 |
---|---|---|
committer | James Brown | 2002-05-05 18:36:24 +0000 |
commit | 7bee21d0a2d08985e029a1eb7dc4f3d07c50606f (patch) | |
tree | ff499e67d4febb58a446cfa9787989355440c0de /gfx.cpp | |
parent | fe8bfbc9e8dc659479034dbe76f5c5754aa066b7 (diff) | |
download | scummvm-rg350-7bee21d0a2d08985e029a1eb7dc4f3d07c50606f.tar.gz scummvm-rg350-7bee21d0a2d08985e029a1eb7dc4f3d07c50606f.tar.bz2 scummvm-rg350-7bee21d0a2d08985e029a1eb7dc4f3d07c50606f.zip |
Fix dig crash
svn-id: r4206
Diffstat (limited to 'gfx.cpp')
-rw-r--r-- | gfx.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -663,7 +663,7 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen * vs, int x, int y, int h, { byte *smap_ptr, *where_draw_ptr; int i; - byte *zplane_list[4]; + byte *zplane_list[6]; int bottom; byte twobufs; @@ -768,13 +768,13 @@ void Gdi::drawBitmap(byte *ptr, VirtScreen * vs, int x, int y, int h, 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); |