[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.5,1.6

Max Horn fingolfin at users.sourceforge.net
Sat Aug 31 07:28:02 CEST 2002


Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv4374/scumm

Modified Files:
	gfx.cpp 
Log Message:
fix for bug #602354

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- gfx.cpp	30 Aug 2002 20:47:47 -0000	1.5
+++ gfx.cpp	31 Aug 2002 14:27:33 -0000	1.6
@@ -2075,7 +2075,7 @@
 	for (i = 0; i < w * h; i++) {
 		x = offsets[i] % vs->width;
 		y = offsets[i] / vs->width;
-		_system->copy_rect(vs->screenPtr + vs->xstart + y * vs->width + x, vs->width, x, y, width, height);
+		_system->copy_rect(vs->screenPtr + vs->xstart + y * vs->width + x, vs->width, x, y + vs->topline, width, height);
 
 		if (++blits >= blits_before_refresh) {
 			blits = 0;





More information about the Scummvm-git-logs mailing list