aboutsummaryrefslogtreecommitdiff
path: root/scumm/scumm.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'scumm/scumm.cpp')
-rw-r--r--scumm/scumm.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/scumm/scumm.cpp b/scumm/scumm.cpp
index 57fb2ad54b..338b942429 100644
--- a/scumm/scumm.cpp
+++ b/scumm/scumm.cpp
@@ -1380,20 +1380,19 @@ void ScummEngine::setupMusic(int midi) {
void ScummEngine::setupVolumes() {
// Sync the engine with the config manager
- int soundVolumeMaster = ConfMan.getInt("master_volume");
int soundVolumeMusic = ConfMan.getInt("music_volume");
int soundVolumeSfx = ConfMan.getInt("sfx_volume");
int soundVolumeSpeech = ConfMan.getInt("speech_volume");
if (_musicEngine) {
- _musicEngine->setMusicVolume(soundVolumeMusic * soundVolumeMaster / 255);
+ _musicEngine->setMusicVolume(soundVolumeMusic);
}
- _mixer->setVolume(soundVolumeSfx * soundVolumeMaster / 255);
+ _mixer->setVolume(soundVolumeSfx);
_mixer->setMusicVolume(soundVolumeMusic);
if (_imuseDigital) {
- _mixer->setVolume(soundVolumeMaster);
+ _mixer->setVolume(255);
_imuseDigital->setGroupMusicVolume(soundVolumeMusic / 2);
_imuseDigital->setGroupSfxVolume(soundVolumeSfx / 2);
_imuseDigital->setGroupVoiceVolume(soundVolumeSpeech / 2);