aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/lol.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-05-27 14:40:37 +0000
committerJohannes Schickel2009-05-27 14:40:37 +0000
commit2bcf5c0552cf0778eb2642608134c6c0e4f3028e (patch)
tree50a6e0782d9137fd9a58ae304c4d57918a603ce3 /engines/kyra/lol.cpp
parente0a059394975b0dc9c52f3152488ee3bad0594c0 (diff)
downloadscummvm-rg350-2bcf5c0552cf0778eb2642608134c6c0e4f3028e.tar.gz
scummvm-rg350-2bcf5c0552cf0778eb2642608134c6c0e4f3028e.tar.bz2
scummvm-rg350-2bcf5c0552cf0778eb2642608134c6c0e4f3028e.zip
- Moved Sound implementation declarations to the newly added file sound_intern.h
- Added support for PC Speaker sound in all Kyra1, Kyra2 and Lands of Lore - Slight cleanup svn-id: r40939
Diffstat (limited to 'engines/kyra/lol.cpp')
-rw-r--r--engines/kyra/lol.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/lol.cpp b/engines/kyra/lol.cpp
index 887c7a4e62..6a8bb3d3ff 100644
--- a/engines/kyra/lol.cpp
+++ b/engines/kyra/lol.cpp
@@ -432,7 +432,7 @@ Common::Error LoLEngine::init() {
KyraEngine_v1::init();
initStaticResource();
- _envSfxDistThreshold = (MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB) == MD_ADLIB || ConfMan.getBool("multi_midi")) ? 15 : 3;
+ _envSfxDistThreshold = _sound->getSfxType() == Sound::kAdlib ? 15 : 3;
_gui = new GUI_LoL(this);
assert(_gui);