diff options
author | Max Horn | 2002-09-08 01:08:12 +0000 |
---|---|---|
committer | Max Horn | 2002-09-08 01:08:12 +0000 |
commit | 523d8e64c0bc66b75cdd7f12fc9d9d87b28a8c36 (patch) | |
tree | 01c96c7b834d32b05cf33b15b6631614d22da187 /gui/gui.cpp | |
parent | 943de561bf51d4e553be44fe612eab94e5c00391 (diff) | |
download | scummvm-rg350-523d8e64c0bc66b75cdd7f12fc9d9d87b28a8c36.tar.gz scummvm-rg350-523d8e64c0bc66b75cdd7f12fc9d9d87b28a8c36.tar.bz2 scummvm-rg350-523d8e64c0bc66b75cdd7f12fc9d9d87b28a8c36.zip |
rewrote config class; cleanup; code restructuring
svn-id: r4903
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(); |