diff options
author | Matthew Hoops | 2011-02-05 08:52:52 +0000 |
---|---|---|
committer | Matthew Hoops | 2011-02-05 08:52:52 +0000 |
commit | c1a9857837d7527cb8b7e9149a186cfd50ffff0b (patch) | |
tree | 538f676230b6afbf3ef865b6b75c76902f71ff89 /engines | |
parent | 0bf787736c7171b82b4c3eaf394cf720b8a7095f (diff) | |
download | scummvm-rg350-c1a9857837d7527cb8b7e9149a186cfd50ffff0b.tar.gz scummvm-rg350-c1a9857837d7527cb8b7e9149a186cfd50ffff0b.tar.bz2 scummvm-rg350-c1a9857837d7527cb8b7e9149a186cfd50ffff0b.zip |
SCI: Fix SCI32 Mac picture palettes
The palette offset should be 32-bit, not 16. The GK1 Mac intro now plays properly.
svn-id: r55784
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/graphics/picture.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/picture.cpp b/engines/sci/graphics/picture.cpp index e338856361..7e71c1a258 100644 --- a/engines/sci/graphics/picture.cpp +++ b/engines/sci/graphics/picture.cpp @@ -181,7 +181,7 @@ void GfxPicture::drawSci32Vga(int16 celNo, int16 drawX, int16 drawY, int16 pictu byte *inbuffer = _resource->data; int size = _resource->size; int header_size = READ_SCI11ENDIAN_UINT16(inbuffer); - int palette_data_ptr = READ_SCI11ENDIAN_UINT16(inbuffer + 6); + int palette_data_ptr = READ_SCI11ENDIAN_UINT32(inbuffer + 6); // int celCount = inbuffer[2]; int cel_headerPos = header_size; int cel_RlePos, cel_LiteralPos; |