diff options
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r-- | gui/gui.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp index 8e118ed792..ff989812c9 100644 --- a/gui/gui.cpp +++ b/gui/gui.cpp @@ -20,7 +20,7 @@ */ #include "stdafx.h" -#include "scumm.h" +#include "scumm/scumm.h" #include "sound/mididrv.h" #include "scumm/sound.h" #include "scumm/imuse.h" @@ -625,9 +625,9 @@ void Gui::handleSoundDialogCommand(int cmd) _s->_mixer->setVolume(_s->_sound->_sound_volume_sfx); _s->_mixer->setMusicVolume(_s->_sound->_sound_volume_music); - scummcfg->set("master_volume", _s->_sound->_sound_volume_master); - scummcfg->set("music_volume", _s->_sound->_sound_volume_music); - scummcfg->set("sfx_volume", _s->_sound->_sound_volume_sfx); + scummcfg->setInt("master_volume", _s->_sound->_sound_volume_master); + scummcfg->setInt("music_volume", _s->_sound->_sound_volume_music); + scummcfg->setInt("sfx_volume", _s->_sound->_sound_volume_sfx); scummcfg->flush(); close(); |