diff options
author | Eugene Sandulenko | 2011-10-30 18:29:50 -0700 |
---|---|---|
committer | Eugene Sandulenko | 2011-10-30 18:29:50 -0700 |
commit | f56dc4151dfd2f82df3c1459cf218cc4b3a30ec0 (patch) | |
tree | 8951748ed7a47601aeca8d18930c6b00d7a07442 | |
parent | b6239f3b3da789fc996ff3f2310777be9de1e298 (diff) | |
parent | f30df9aa7059a336506a39de37b5b5f099e22c35 (diff) | |
download | scummvm-rg350-f56dc4151dfd2f82df3c1459cf218cc4b3a30ec0.tar.gz scummvm-rg350-f56dc4151dfd2f82df3c1459cf218cc4b3a30ec0.tar.bz2 scummvm-rg350-f56dc4151dfd2f82df3c1459cf218cc4b3a30ec0.zip |
Merge pull request #112 from tsoliman/fix-undithering-guioption1
GUI: Enable EGA Undithering in global options dialog
-rw-r--r-- | gui/options.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/options.cpp b/gui/options.cpp index 2291bb5ee9..4ded2edca3 100644 --- a/gui/options.cpp +++ b/gui/options.cpp @@ -216,7 +216,7 @@ void OptionsDialog::open() { #endif // SMALL_SCREEN_DEVICE // EGA undithering setting - if (_guioptions.contains(GUIO_EGAUNDITHER)) { + if (_guioptions.contains(GUIO_EGAUNDITHER) || _domain == Common::ConfigManager::kApplicationDomain) { _disableDitheringCheckbox->setEnabled(true); _disableDitheringCheckbox->setState(ConfMan.getBool("disable_dithering", _domain)); } else { @@ -609,7 +609,7 @@ void OptionsDialog::setGraphicSettingsState(bool enabled) { else _aspectCheckbox->setEnabled(enabled); #endif - if (_guioptions.contains(GUIO_EGAUNDITHER)) + if (_guioptions.contains(GUIO_EGAUNDITHER) && enabled) _disableDitheringCheckbox->setEnabled(true); else _disableDitheringCheckbox->setEnabled(false); |