mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-04 15:51:42 +00:00
VIDEO: Set _paletteDirty in VMDDecoder::load() when there is an initial palette
svn-id: r51920
This commit is contained in:
parent
dc3a417699
commit
8186214bc9
@ -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();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user