diff options
author | Sven Hesse | 2010-08-08 01:07:45 +0000 |
---|---|---|
committer | Sven Hesse | 2010-08-08 01:07:45 +0000 |
commit | 8186214bc9348514c5020f4449cea2ecfb599a8a (patch) | |
tree | fd3d8f51f5dd951371578aa726e901b84c4f3f0f /graphics/video | |
parent | dc3a41769976c5d25206f8a8b649ef36a4a1b51f (diff) | |
download | scummvm-rg350-8186214bc9348514c5020f4449cea2ecfb599a8a.tar.gz scummvm-rg350-8186214bc9348514c5020f4449cea2ecfb599a8a.tar.bz2 scummvm-rg350-8186214bc9348514c5020f4449cea2ecfb599a8a.zip |
VIDEO: Set _paletteDirty in VMDDecoder::load() when there is an initial palette
svn-id: r51920
Diffstat (limited to 'graphics/video')
-rw-r--r-- | graphics/video/coktel_decoder.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/video/coktel_decoder.cpp b/graphics/video/coktel_decoder.cpp index daa1047879..ac0622f739 100644 --- a/graphics/video/coktel_decoder.cpp +++ b/graphics/video/coktel_decoder.cpp @@ -1604,9 +1604,12 @@ bool VMDDecoder::load(Common::SeekableReadStream *stream) { _videoCodec = _stream->readUint32BE(); - if (_features & kFeaturesPalette) + if (_features & kFeaturesPalette) { _stream->read((byte *)_palette, 768); + _paletteDirty = true; + } + _frameDataSize = _stream->readUint32LE(); _videoBufferSize = _stream->readUint32LE(); |