diff options
author | Martin Kiewitz | 2010-01-25 17:09:31 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-25 17:09:31 +0000 |
commit | 6bd6bc4bad3c449469ef4a9d3444c449db553380 (patch) | |
tree | eb83e1d05b0c291165617a88d2eded41ac07451b /engines | |
parent | 5fa07183567ec91f0e3e220f296f23822b698c4a (diff) | |
download | scummvm-rg350-6bd6bc4bad3c449469ef4a9d3444c449db553380.tar.gz scummvm-rg350-6bd6bc4bad3c449469ef4a9d3444c449db553380.tar.bz2 scummvm-rg350-6bd6bc4bad3c449469ef4a9d3444c449db553380.zip |
SCI: fixing skipping over dummy VGA palettes in amiga games
svn-id: r47555
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 d252d34f5d..165141e8b0 100644 --- a/engines/sci/graphics/picture.cpp +++ b/engines/sci/graphics/picture.cpp @@ -558,7 +558,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { if (_resMan->isAmiga32color()) { if ((data[curPos] == 0x00) && (data[curPos + 1] == 0x01) && ((data[curPos + 32] & 0xF0) != 0xF0)) { // Left-Over VGA palette, we simply ignore it - curPos += 256 + 4 + 768; + curPos += 256 + 4 + 1024; } else { // Setting half of the amiga palette _palette->modifyAmigaPalette(&data[curPos]); |