[Scummvm-cvs-logs] SF.net SVN: scummvm: [22857] scummvm/trunk/engines/gob/game.cpp
drmccoy at users.sourceforge.net
drmccoy at users.sourceforge.net
Sat Jun 3 10:50:46 CEST 2006
Revision: 22857
Author: drmccoy
Date: 2006-06-03 01:50:41 -0700 (Sat, 03 Jun 2006)
ViewCVS: http://svn.sourceforge.net/scummvm/?rev=22857&view=rev
Log Message:
-----------
Matched the memset in imdFrameUncompressor() to the original asm, that
fixes a small glitch
Modified Paths:
--------------
scummvm/trunk/engines/gob/game.cpp
Modified: scummvm/trunk/engines/gob/game.cpp
===================================================================
--- scummvm/trunk/engines/gob/game.cpp 2006-06-03 08:06:07 UTC (rev 22856)
+++ scummvm/trunk/engines/gob/game.cpp 2006-06-03 08:50:41 UTC (rev 22857)
@@ -2549,8 +2549,6 @@
uint8 chunkCount;
bool mode;
- memset(buf, 0, sizeof(buf));
-
frameLength = READ_LE_UINT16(src);
src += 4;
bufPos1 = 4078;
@@ -2560,6 +2558,7 @@
bufPos1 = 273;
mode = 1; // 123Ch (cmp al, 12h)
}
+ memset(buf, 32, bufPos1);
chunkCount = 1;
chunkBitField = 0;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list