diff options
author | Matthew Hoops | 2010-08-04 00:33:54 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-08-04 00:33:54 +0000 |
commit | bde4012f464a47ebe43a5f0498c7a18c40889140 (patch) | |
tree | 060968d67649ac20fadd6ff90a3ca7a9749acdbe | |
parent | 7487b51e873bdb9b919641ab84cfa1225cd465ed (diff) | |
download | scummvm-rg350-bde4012f464a47ebe43a5f0498c7a18c40889140.tar.gz scummvm-rg350-bde4012f464a47ebe43a5f0498c7a18c40889140.tar.bz2 scummvm-rg350-bde4012f464a47ebe43a5f0498c7a18c40889140.zip |
SCI: Silence valgrind warning (thanks to syke for pointing out)
svn-id: r51717
-rw-r--r-- | engines/sci/video/seq_decoder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/sci/video/seq_decoder.cpp b/engines/sci/video/seq_decoder.cpp index 2c117ae329..02db66bfb9 100644 --- a/engines/sci/video/seq_decoder.cpp +++ b/engines/sci/video/seq_decoder.cpp @@ -76,6 +76,7 @@ bool SeqDecoder::load(Common::SeekableReadStream &stream) { uint16 palColorCount = READ_LE_UINT16(paletteData + 29); int palOffset = 37; + memset(_palette, 0, 256 * 3); for (uint16 colorNo = palColorStart; colorNo < palColorStart + palColorCount; colorNo++) { if (palFormat == kSeqPalVariable) |