aboutsummaryrefslogtreecommitdiff
path: root/engines/tsage
diff options
context:
space:
mode:
authorPaul Gilbert2011-08-01 19:45:49 +1000
committerPaul Gilbert2011-08-01 19:45:49 +1000
commit78c4675c927e5f227e4dd7d165f950e942b3aad0 (patch)
tree0ece6a6f891a8a6005c6cf812d3479be455c4b32 /engines/tsage
parent61472ad2c590a34979a8366bcd7f5db46c54afc6 (diff)
downloadscummvm-rg350-78c4675c927e5f227e4dd7d165f950e942b3aad0.tar.gz
scummvm-rg350-78c4675c927e5f227e4dd7d165f950e942b3aad0.tar.bz2
scummvm-rg350-78c4675c927e5f227e4dd7d165f950e942b3aad0.zip
TSAGE: SoundBLaster method #38 now actually updates the channel volume
Diffstat (limited to 'engines/tsage')
-rw-r--r--engines/tsage/sound.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/engines/tsage/sound.cpp b/engines/tsage/sound.cpp
index e47a0ed572..d054949f2d 100644
--- a/engines/tsage/sound.cpp
+++ b/engines/tsage/sound.cpp
@@ -2871,6 +2871,7 @@ void SoundBlasterDriver::proc38(int channel, int cmd, int value) {
if (cmd == 7) {
// Set channel volume
_channelVolume = value;
+ _mixer->setChannelVolume(_soundHandle, (byte)MIN(255, value * 2));
}
}