[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.364,2.365
Travis Howell
kirben at users.sourceforge.net
Wed Oct 6 23:56:05 CEST 2004
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28872/scumm
Modified Files:
gfx.cpp
Log Message:
Pointer correction
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.364
retrieving revision 2.365
diff -u -d -r2.364 -r2.365
--- gfx.cpp 5 Oct 2004 09:39:39 -0000 2.364
+++ gfx.cpp 7 Oct 2004 06:54:33 -0000 2.365
@@ -1430,13 +1430,13 @@
bmap_ptr = _vm->findResourceData(MKID('BMAP'), ptr);
assert(bmap_ptr);
- byte code = *ptr++;
+ byte code = *bmap_ptr++;
int scrX = _vm->_screenStartStrip * 8;
if (code == 8 || code == 9) {
Common::Rect rScreen(0, 0, vs->w, vs->h);
byte *dst = (byte *)_vm->virtscr[0].backBuf + scrX;
- copyWizImage(dst, ptr, vs->w, vs->h, x - scrX, y, w, h, &rScreen);
+ copyWizImage(dst, bmap_ptr, vs->w, vs->h, x - scrX, y, w, h, &rScreen);
}
Common::Rect rect1(x, y, x + w, y + h);
More information about the Scummvm-git-logs
mailing list