aboutsummaryrefslogtreecommitdiff
path: root/common/algorithm.h
diff options
context:
space:
mode:
authorMartin Kiewitz2016-01-31 22:14:35 +0100
committerMartin Kiewitz2016-01-31 22:14:35 +0100
commita9b25b53d7a7084941553166abd20a602e83e184 (patch)
treeacac0d2b174b060b16e0ae2cdcd66121b2f57c16 /common/algorithm.h
parentfd9c46831df3bcd09bc6f85d5e41c2beb3f7c024 (diff)
downloadscummvm-rg350-a9b25b53d7a7084941553166abd20a602e83e184.tar.gz
scummvm-rg350-a9b25b53d7a7084941553166abd20a602e83e184.tar.bz2
scummvm-rg350-a9b25b53d7a7084941553166abd20a602e83e184.zip
AGI: properly implement volume control + sync
Original code did assume that AGI volume level is 0-15 (0 for silence, 15 for maximum volume). It actually is the other way. 0 is maximum, 15 is silence. Fixed that. Also implemented sync with ScummVM settings dialog. In case "mute" is enabled by the user, any volume changes done by scripts are ignored. Fixes Manhunter 1 Apple IIgs not getting sound anymore since the VM Var cleanup (the script volume change by the scripts didn't reach us before)
Diffstat (limited to 'common/algorithm.h')
0 files changed, 0 insertions, 0 deletions