aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Snover2017-07-16 21:08:15 -0500
committerColin Snover2017-07-16 21:25:27 -0500
commit2c1a8790b3967d2a39f433c2978c28b750e961f5 (patch)
tree191807a44e9e73164c6b1e78470b58871c91856b
parent5fa0e4b780db5e2af1df9709803c53e5ffa86bb4 (diff)
downloadscummvm-rg350-2c1a8790b3967d2a39f433c2978c28b750e961f5.tar.gz
scummvm-rg350-2c1a8790b3967d2a39f433c2978c28b750e961f5.tar.bz2
scummvm-rg350-2c1a8790b3967d2a39f433c2978c28b750e961f5.zip
SCI32: Fix wrong GK1 sound volume sync
Fixes Trac#9793.
-rw-r--r--engines/sci/engine/guest_additions.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/guest_additions.cpp b/engines/sci/engine/guest_additions.cpp
index d4a2f13813..e5c241647b 100644
--- a/engines/sci/engine/guest_additions.cpp
+++ b/engines/sci/engine/guest_additions.cpp
@@ -841,7 +841,7 @@ void GuestAdditions::syncGK1StartupVolumeFromScummVM(const int index, const reg_
}
case kSoundsSoundType: {
- volume = (ConfMan.getInt("sound_volume") + 1) * MUSIC_VOLUME_MAX / Audio::Mixer::kMaxMixerVolume;
+ volume = (ConfMan.getInt("sfx_volume") + 1) * MUSIC_VOLUME_MAX / Audio::Mixer::kMaxMixerVolume;
selector = SELECTOR(soundVolume);
break;
}