diff options
author | Paweł Kołodziejski | 2002-12-28 17:11:23 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2002-12-28 17:11:23 +0000 |
commit | f48341c8a557e98233706a274328ff60ae666224 (patch) | |
tree | d6c9839bd637d9adde45450010e757cd4493d6a8 | |
parent | b794c3c37563e42eb0ffa52ac2930a9b470ef18b (diff) | |
download | scummvm-rg350-f48341c8a557e98233706a274328ff60ae666224.tar.gz scummvm-rg350-f48341c8a557e98233706a274328ff60ae666224.tar.bz2 scummvm-rg350-f48341c8a557e98233706a274328ff60ae666224.zip |
fix for CMI codec
svn-id: r6239
-rw-r--r-- | scumm/bundle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/bundle.cpp b/scumm/bundle.cpp index ea0015ffa3..8e1527de82 100644 --- a/scumm/bundle.cpp +++ b/scumm/bundle.cpp @@ -850,7 +850,7 @@ int32 Bundle::decompressCodec(int32 codec, byte *comp_input, byte *comp_output, 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); |