aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-09-22 14:55:17 +0000
committerTorbjörn Andersson2003-09-22 14:55:17 +0000
commitf3f7489b4959950cf2bbdb753b48cae66f292cea (patch)
treeb6543a2afff5683f0f73a7dabdd88bcfb5ca3e02 /sword2
parent8e28b0c6b4c004a93b76a89d8cb84926a13a0b4a (diff)
downloadscummvm-rg350-f3f7489b4959950cf2bbdb753b48cae66f292cea.tar.gz
scummvm-rg350-f3f7489b4959950cf2bbdb753b48cae66f292cea.tar.bz2
scummvm-rg350-f3f7489b4959950cf2bbdb753b48cae66f292cea.zip
Set the mixer to use the maximum volume. BS2 has its own volume settings,
and we want them to go all the way up to eleven. svn-id: r10362
Diffstat (limited to 'sword2')
-rw-r--r--sword2/sword2.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/sword2/sword2.cpp b/sword2/sword2.cpp
index 9dad451090..673e815f3f 100644
--- a/sword2/sword2.cpp
+++ b/sword2/sword2.cpp
@@ -109,8 +109,11 @@ Sword2State::Sword2State(GameDetector *detector, OSystem *syst)
if (!_mixer->bindToSystem(syst))
warning("Sound initialization failed");
- _mixer->setVolume(kDefaultSFXVolume * kDefaultMasterVolume / 255);
- _mixer->setMusicVolume(kDefaultMusicVolume * kDefaultMasterVolume / 255);
+ // We have our own volume settings panel, so don't let ScummVM's mixer
+ // soften the sound in any way.
+
+ _mixer->setVolume(256);
+ _mixer->setMusicVolume(256);
g_sound = _sound = new Sword2Sound(_mixer);