diff options
author | David Turner | 2010-06-04 20:06:59 +0000 |
---|---|---|
committer | David Turner | 2010-06-04 20:06:59 +0000 |
commit | 8b102ab7afae80d57bbbd03d2cd4a9bea09c9115 (patch) | |
tree | b78a15342937daa72f468fdf3889a9ba140288af | |
parent | 722c4f1b8dd9a25e94e48ea1368e786250de7a5c (diff) | |
download | scummvm-rg350-8b102ab7afae80d57bbbd03d2cd4a9bea09c9115.tar.gz scummvm-rg350-8b102ab7afae80d57bbbd03d2cd4a9bea09c9115.tar.bz2 scummvm-rg350-8b102ab7afae80d57bbbd03d2cd4a9bea09c9115.zip |
SCI: Fix for Valgrind Warning in Palette.
svn-id: r49433
-rw-r--r-- | engines/sci/graphics/palette.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/graphics/palette.cpp b/engines/sci/graphics/palette.cpp index ab96856674..3c4cf7e964 100644 --- a/engines/sci/graphics/palette.cpp +++ b/engines/sci/graphics/palette.cpp @@ -56,6 +56,7 @@ GfxPalette::GfxPalette(ResourceManager *resMan, GfxScreen *screen, bool autoSetP _sysPalette.colors[255].g = 255; _sysPalette.colors[255].b = 255; + _sysPaletteChanged = false; if (autoSetPalette) { if (_resMan->getViewType() == kViewEga) setEGA(); @@ -64,7 +65,6 @@ GfxPalette::GfxPalette(ResourceManager *resMan, GfxScreen *screen, bool autoSetP else kernelSetFromResource(999, true); } - _sysPaletteChanged = false; } GfxPalette::~GfxPalette() { |