[Scummvm-cvs-logs] CVS: scummvm/scumm gfx.cpp,1.34,1.35
James Brown
ender at users.sourceforge.net
Sun Oct 20 05:04:04 CEST 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory usw-pr-cvs1:/tmp/cvs-serv21042/scumm
Modified Files:
gfx.cpp
Log Message:
Totally random fix for Dig memory corruption. Probably not even remotely correct, someone look at this :)
Index: gfx.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/gfx.cpp,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -d -r1.34 -r1.35
--- gfx.cpp 20 Oct 2002 01:08:54 -0000 1.34
+++ gfx.cpp 20 Oct 2002 12:03:56 -0000 1.35
@@ -1224,7 +1224,10 @@
byte *dst = _mask_ptr_dest;
int height = _numLinesToProcess;
byte b, c;
-
+
+ height--; // FIXME: This seems to fix The Dig nexus wrapping corrupting memory..
+ // and doesn't break any other games.. but is it correct? If so,
+ // do we need to mirror this change anywhere else?
while (1) {
b = *src++;
More information about the Scummvm-git-logs
mailing list