diff options
author | Martin Kiewitz | 2010-01-25 12:34:40 +0000 |
---|---|---|
committer | Martin Kiewitz | 2010-01-25 12:34:40 +0000 |
commit | 5fa07183567ec91f0e3e220f296f23822b698c4a (patch) | |
tree | ddd98098400544b8c7ba5294fc714daf47b2fc79 /engines/sci/graphics/picture.cpp | |
parent | e7e0810c9c93c14cbf861cf2c3e531126cb411df (diff) | |
download | scummvm-rg350-5fa07183567ec91f0e3e220f296f23822b698c4a.tar.gz scummvm-rg350-5fa07183567ec91f0e3e220f296f23822b698c4a.tar.bz2 scummvm-rg350-5fa07183567ec91f0e3e220f296f23822b698c4a.zip |
SCI: created isAmiga32color(), using this method instead of comparing against viewType
svn-id: r47554
Diffstat (limited to 'engines/sci/graphics/picture.cpp')
-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 b5b07c5e74..d252d34f5d 100644 --- a/engines/sci/graphics/picture.cpp +++ b/engines/sci/graphics/picture.cpp @@ -555,7 +555,7 @@ void SciGuiPicture::drawVectorData(byte *data, int dataSize) { } break; case PIC_OPX_VGA_SET_PALETTE: - if (_resMan->getViewType() == kViewAmiga) { + 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; |