diff options
author | Filippos Karapetis | 2012-03-31 05:54:30 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-31 05:54:30 +0300 |
commit | 7f9c63239b2f360b6d96e8ff4dd007b80d990e46 (patch) | |
tree | e0d93411b7cab54f6e0afe021de4a878d00a9d60 | |
parent | 21e8f2f44135f32fa2e448f98da3fa05afef8880 (diff) | |
download | scummvm-rg350-7f9c63239b2f360b6d96e8ff4dd007b80d990e46.tar.gz scummvm-rg350-7f9c63239b2f360b6d96e8ff4dd007b80d990e46.tar.bz2 scummvm-rg350-7f9c63239b2f360b6d96e8ff4dd007b80d990e46.zip |
SCI: Make sure that the disable_dithering key exists
-rw-r--r-- | engines/sci/sci.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sci/sci.cpp b/engines/sci/sci.cpp index 9b0ee6924b..c77b49400f 100644 --- a/engines/sci/sci.cpp +++ b/engines/sci/sci.cpp @@ -221,7 +221,8 @@ Common::Error SciEngine::run() { // Initialize the game screen _gfxScreen = new GfxScreen(_resMan); - _gfxScreen->enableUndithering(ConfMan.getBool("disable_dithering")); + bool enableUnDitheringFlag = ConfMan.hasKey("disable_dithering") && ConfMan.getBool("disable_dithering"); + _gfxScreen->enableUndithering(enableUnDitheringFlag); _kernel = new Kernel(_resMan, segMan); |