diff options
Diffstat (limited to 'engines/sherlock/sherlock.cpp')
-rw-r--r-- | engines/sherlock/sherlock.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp index 18b9332867..e068ac481a 100644 --- a/engines/sherlock/sherlock.cpp +++ b/engines/sherlock/sherlock.cpp @@ -51,6 +51,7 @@ SherlockEngine::SherlockEngine(OSystem *syst, const SherlockGameDescription *gam _canLoadSave = false; _showOriginalSavesDialog = false; _interactiveFl = true; + _isScreenDoubled = false; } SherlockEngine::~SherlockEngine() { @@ -191,7 +192,7 @@ void SherlockEngine::sceneLoop() { } void SherlockEngine::handleInput() { - _canLoadSave = _ui->_menuMode == STD_MODE; + _canLoadSave = _ui->_menuMode == STD_MODE || _ui->_menuMode == LAB_MODE; _events->pollEventsAndWait(); _canLoadSave = false; @@ -237,7 +238,10 @@ void SherlockEngine::loadConfig() { void SherlockEngine::saveConfig() { ConfMan.setBool("mute", !_sound->_digitized); ConfMan.setBool("music_mute", !_music->_musicOn); - ConfMan.setBool("speech_mute", !_sound->_voices); + ConfMan.setBool("speech_mute", !_sound->_speechOn); + ConfMan.setInt("music_volume", _music->_musicVolume); + ConfMan.setInt("sfx_volume", _sound->_soundVolume); + ConfMan.setInt("speech_volume", _sound->_soundVolume); ConfMan.setInt("font", _screen->fontNumber()); ConfMan.setBool("fade_style", _screen->_fadeStyle); @@ -279,4 +283,4 @@ Common::Error SherlockEngine::saveGameState(int slot, const Common::String &desc return Common::kNoError; } -} // End of namespace Comet +} // End of namespace Sherlock |