aboutsummaryrefslogtreecommitdiff
path: root/scumm/sound.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/sound.cpp')
-rw-r--r--scumm/sound.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp
index 82a956f170..f4e506c975 100644
--- a/scumm/sound.cpp
+++ b/scumm/sound.cpp
@@ -650,9 +650,9 @@ void Sound::setupSound() {
if (_scumm->_imuse) {
_scumm->_imuse->setBase(_scumm->res.address[rtSound]);
- _sound_volume_music = scummcfg->getInt("music_volume", kDefaultMusicVolume);
- _sound_volume_master = scummcfg->getInt("master_volume", kDefaultMasterVolume);
- _sound_volume_sfx = scummcfg->getInt("sfx_volume", kDefaultSFXVolume);
+ _sound_volume_music = g_config->getInt("music_volume", kDefaultMusicVolume);
+ _sound_volume_master = g_config->getInt("master_volume", kDefaultMasterVolume);
+ _sound_volume_sfx = g_config->getInt("sfx_volume", kDefaultSFXVolume);
_scumm->_imuse->set_master_volume(_sound_volume_master);
_scumm->_imuse->set_music_volume(_sound_volume_music);