aboutsummaryrefslogtreecommitdiff
path: root/gui/gui.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/gui.cpp')
-rw-r--r--gui/gui.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/gui.cpp b/gui/gui.cpp
index 270641ae17..8b2515e4b5 100644
--- a/gui/gui.cpp
+++ b/gui/gui.cpp
@@ -621,8 +621,8 @@ void Gui::handleSoundDialogCommand(int cmd)
_s->_imuse->set_music_volume(_s->_sound->_sound_volume_music);
_s->_imuse->set_master_volume(_s->_sound->_sound_volume_master);
- _s->_mixer->set_volume(_s->_sound->_sound_volume_sfx);
- _s->_mixer->set_music_volume(_s->_sound->_sound_volume_music);
+ _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);