[Scummvm-cvs-logs] CVS: scummvm/scumm bundle.cpp,1.12,1.13
Pawel Kolodziejski
aquadran at users.sourceforge.net
Sat Dec 28 09:12:02 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv3776
Modified Files:
bundle.cpp
Log Message:
fix for CMI codec
Index: bundle.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/bundle.cpp,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- bundle.cpp 28 Dec 2002 16:36:43 -0000 1.12
+++ bundle.cpp 28 Dec 2002 17:11:23 -0000 1.13
@@ -850,7 +850,7 @@
var3b = (1 << decompTable) << 1;
readPos = src + (tableEntrySum >> 3);
readWord = (uint16)(READ_BE_UINT16(readPos) << (tableEntrySum & 7));
- otherTablePos = (byte)(readWord << (16 - curTableEntry)) & 0xff;
+ otherTablePos = (byte)(readWord >> (16 - curTableEntry));
tableEntrySum += curTableEntry;
esiReg = imxShortTable[curTableEntry];
esiReg = (esiReg & otherTablePos) << (7 - curTableEntry);
More information about the Scummvm-git-logs
mailing list