diff options
author | Filippos Karapetis | 2013-05-01 01:40:24 +0300 |
---|---|---|
committer | Filippos Karapetis | 2013-05-01 01:51:12 +0300 |
commit | 5b25c40c4041538f7e050211039b81af8cf77eba (patch) | |
tree | 4856d9b53d19d103fa2aec0268d8218e5e172738 /engines/sci/graphics | |
parent | 012a5ef040d32312a0626fe0be6dbdaf1a2424e4 (diff) | |
download | scummvm-rg350-5b25c40c4041538f7e050211039b81af8cf77eba.tar.gz scummvm-rg350-5b25c40c4041538f7e050211039b81af8cf77eba.tar.bz2 scummvm-rg350-5b25c40c4041538f7e050211039b81af8cf77eba.zip |
SCI: Fix a non-initialized variable in GfxScreen - CID 1003105
Diffstat (limited to 'engines/sci/graphics')
-rw-r--r-- | engines/sci/graphics/screen.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp index 246b6bfff9..74503c0c77 100644 --- a/engines/sci/graphics/screen.cpp +++ b/engines/sci/graphics/screen.cpp @@ -115,6 +115,8 @@ GfxScreen::GfxScreen(ResourceManager *resMan) : _resMan(resMan) { _controlScreen = (byte *)calloc(_pixels, 1); _displayScreen = (byte *)calloc(_displayPixels, 1); + memset(&_ditheredPicColors, 0, sizeof(_ditheredPicColors)); + // Sets display screen to be actually displayed _activeScreen = _displayScreen; |