diff options
author | Martin Kiewitz | 2016-01-31 22:14:35 +0100 |
---|---|---|
committer | Martin Kiewitz | 2016-01-31 22:14:35 +0100 |
commit | a9b25b53d7a7084941553166abd20a602e83e184 (patch) | |
tree | acac0d2b174b060b16e0ae2cdcd66121b2f57c16 /engines/agi/palette.h | |
parent | fd9c46831df3bcd09bc6f85d5e41c2beb3f7c024 (diff) | |
download | scummvm-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 'engines/agi/palette.h')
0 files changed, 0 insertions, 0 deletions