[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,2.91,2.92

Max Horn fingolfin at users.sourceforge.net
Sun May 11 04:28:02 CEST 2003


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv28303

Modified Files:
	gfx.cpp 
Log Message:
correction: V2 mask decompression works 100% correct. We just ignore it.

Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 2.91
retrieving revision 2.92
diff -u -d -r2.91 -r2.92
--- gfx.cpp	11 May 2003 11:13:24 -0000	2.91
+++ gfx.cpp	11 May 2003 11:27:19 -0000	2.92
@@ -992,8 +992,7 @@
 				}
 			}
 			if (left <= theX && theX < right) {
-				dst -= _vm->_screenWidth * height;
-				dst++;
+				dst -= height * _vm->_screenWidth - 1;
 			}
 		}
 
@@ -1013,7 +1012,7 @@
 					theY++;
 					if (theY >= height) {
 						if (left <= theX && theX < right) {
-							mask_ptr -= _numStrips * height - 1;
+							mask_ptr -= height * _numStrips - 1;
 						}
 						theY = 0;
 						theX += 8;





More information about the Scummvm-git-logs mailing list