aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Hoops2010-08-04 00:33:54 +0000
committerMatthew Hoops2010-08-04 00:33:54 +0000
commitbde4012f464a47ebe43a5f0498c7a18c40889140 (patch)
tree060968d67649ac20fadd6ff90a3ca7a9749acdbe
parent7487b51e873bdb9b919641ab84cfa1225cd465ed (diff)
downloadscummvm-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.cpp1
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)