aboutsummaryrefslogtreecommitdiff
path: root/queen
diff options
context:
space:
mode:
authorMax Horn2003-12-24 17:42:22 +0000
committerMax Horn2003-12-24 17:42:22 +0000
commit859a9c01290dc6022f99c7fd99ff91d62a3153dc (patch)
tree34a40bd53ce6c75e3685ec837c4da4c0a38d01f7 /queen
parent5665d137f6bae488ac19539acdcfe441f514a9d6 (diff)
downloadscummvm-rg350-859a9c01290dc6022f99c7fd99ff91d62a3153dc.tar.gz
scummvm-rg350-859a9c01290dc6022f99c7fd99ff91d62a3153dc.tar.bz2
scummvm-rg350-859a9c01290dc6022f99c7fd99ff91d62a3153dc.zip
o Added SoundMixer::isReady()
o Removed SoundMixer::bindToSystem() o In scumm, replaced _silentMixer, _silentDigitalImuse and _noDigitalSamples by SoundMixer::isReady() svn-id: r11893
Diffstat (limited to 'queen')
-rw-r--r--queen/queen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/queen/queen.cpp b/queen/queen.cpp
index 235ecafabe..160b7fd92b 100644
--- a/queen/queen.cpp
+++ b/queen/queen.cpp
@@ -89,7 +89,7 @@ namespace Queen {
QueenEngine::QueenEngine(GameDetector *detector, OSystem *syst)
: Engine(syst) {
- if (!_mixer->bindToSystem(syst))
+ if (!_mixer->isReady())
warning("Sound initialisation failed.");
_mixer->setVolume(ConfMan.getInt("sfx_volume"));