diff options
Diffstat (limited to 'scumm/dialogs.cpp')
| -rw-r--r-- | scumm/dialogs.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp index 3c619507d3..d6a7e08d01 100644 --- a/scumm/dialogs.cpp +++ b/scumm/dialogs.cpp @@ -531,9 +531,10 @@ void OptionsDialog::handleCommand(CommandSender *sender, uint32 cmd, uint32 data // Amiga palette? if (amigaPalCheckbox->getState()) - _scumm->_features |= GF_AMIGA; + _scumm->setFeatures (_scumm->_features | GF_AMIGA); else - _scumm->_features &= ~GF_AMIGA; + _scumm->setFeatures (_scumm->_features & (~GF_AMIGA)); + g_config->setBool("amiga", amigaPalCheckbox->getState()); // Finally flush the modified config |
