aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-15 19:42:18 -0400
committerPaul Gilbert2015-05-15 19:42:18 -0400
commit07907819c18d075c39158d2d35f5949e13497127 (patch)
treeed6b773836e27067078cba31bee46c3b2bc9f223
parenta77c6dd43f797c33c7537df6e0cd1a79586087b5 (diff)
downloadscummvm-rg350-07907819c18d075c39158d2d35f5949e13497127.tar.gz
scummvm-rg350-07907819c18d075c39158d2d35f5949e13497127.tar.bz2
scummvm-rg350-07907819c18d075c39158d2d35f5949e13497127.zip
SHERLOCK: Fix saving mute flags in saveConfig
-rw-r--r--engines/sherlock/sherlock.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp
index a84eedbd04..d6fe0c69aa 100644
--- a/engines/sherlock/sherlock.cpp
+++ b/engines/sherlock/sherlock.cpp
@@ -231,9 +231,9 @@ void SherlockEngine::loadConfig() {
* Saves game configuration information
*/
void SherlockEngine::saveConfig() {
- ConfMan.setBool("mute", _sound->_digitized);
- ConfMan.setBool("music_mute", _sound->_music);
- ConfMan.setBool("speech_mute", _sound->_voices);
+ ConfMan.setBool("mute", !_sound->_digitized);
+ ConfMan.setBool("music_mute", !_sound->_music);
+ ConfMan.setBool("speech_mute", !_sound->_voices);
ConfMan.setInt("font", _screen->fontNumber());
ConfMan.setBool("fade_style", _screen->_fadeStyle);