diff options
author | Max Horn | 2003-07-13 11:40:19 +0000 |
---|---|---|
committer | Max Horn | 2003-07-13 11:40:19 +0000 |
commit | c149af5b0716458c99ace3f0ccea3eb8489c760b (patch) | |
tree | 8ce0a26c2741152690420c5407eed319fc735dc6 /scumm | |
parent | f73cd745f15d6cc44680d2c9ae9f4cd39a33f514 (diff) | |
download | scummvm-rg350-c149af5b0716458c99ace3f0ccea3eb8489c760b.tar.gz scummvm-rg350-c149af5b0716458c99ace3f0ccea3eb8489c760b.tar.bz2 scummvm-rg350-c149af5b0716458c99ace3f0ccea3eb8489c760b.zip |
fixed gdi._C64MaskChar decoding
svn-id: r8973
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/scummvm.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp index 77f965ef1e..03f59eabd5 100644 --- a/scumm/scummvm.cpp +++ b/scumm/scummvm.cpp @@ -1484,7 +1484,7 @@ void Scumm::initRoomSubBlocks() { gdi.decodeC64Gfx(roomptr + READ_LE_UINT16(roomptr + 12), gdi._C64PicMap, roomptr[4] * roomptr[5]); gdi.decodeC64Gfx(roomptr + READ_LE_UINT16(roomptr + 14), gdi._C64ColorMap, roomptr[4] * roomptr[5]); gdi.decodeC64Gfx(roomptr + READ_LE_UINT16(roomptr + 16), gdi._C64MaskMap, roomptr[4] * roomptr[5]); - gdi.decodeC64Gfx(roomptr + READ_LE_UINT16(roomptr + 18), gdi._C64MaskChar, READ_LE_UINT16(roomptr + READ_LE_UINT16(roomptr + 18))); + gdi.decodeC64Gfx(roomptr + READ_LE_UINT16(roomptr + 18) + 2, gdi._C64MaskChar, READ_LE_UINT16(roomptr + READ_LE_UINT16(roomptr + 18))); gdi._C64ObjectMode = true; } else if (_features & GF_OLD_BUNDLE) { _IM00_offs = READ_LE_UINT16(roomptr + 0x0A); |