mirror of
https://github.com/libretro/scummvm.git
synced 2025-01-01 15:09:47 +00:00
SCI: Silence valgrind warning (thanks to syke for pointing out)
svn-id: r51717
This commit is contained in:
parent
7487b51e87
commit
bde4012f46
@ -76,6 +76,7 @@ bool SeqDecoder::load(Common::SeekableReadStream &stream) {
|
|||||||
uint16 palColorCount = READ_LE_UINT16(paletteData + 29);
|
uint16 palColorCount = READ_LE_UINT16(paletteData + 29);
|
||||||
|
|
||||||
int palOffset = 37;
|
int palOffset = 37;
|
||||||
|
memset(_palette, 0, 256 * 3);
|
||||||
|
|
||||||
for (uint16 colorNo = palColorStart; colorNo < palColorStart + palColorCount; colorNo++) {
|
for (uint16 colorNo = palColorStart; colorNo < palColorStart + palColorCount; colorNo++) {
|
||||||
if (palFormat == kSeqPalVariable)
|
if (palFormat == kSeqPalVariable)
|
||||||
|
Loading…
Reference in New Issue
Block a user