diff options
author | Filippos Karapetis | 2012-03-25 16:40:49 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-25 16:40:49 +0300 |
commit | 536a7e407f97d7f5ed6db563424f1a7b576688b1 (patch) | |
tree | b3e0beca315eab8a81fc6a8100a39c657563690f /engines/sci/engine | |
parent | 4dc2f2d43305f29cd1deee924abca7a95c723b53 (diff) | |
download | scummvm-rg350-536a7e407f97d7f5ed6db563424f1a7b576688b1.tar.gz scummvm-rg350-536a7e407f97d7f5ed6db563424f1a7b576688b1.tar.bz2 scummvm-rg350-536a7e407f97d7f5ed6db563424f1a7b576688b1.zip |
SCI: Hook up the digital SFX and CD audio options
The relevant code wasn't added in the newer commits - this was an
oversight from my part
Diffstat (limited to 'engines/sci/engine')
-rw-r--r-- | engines/sci/engine/features.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/engine/features.cpp b/engines/sci/engine/features.cpp index b3cfee873c..a284c319c0 100644 --- a/engines/sci/engine/features.cpp +++ b/engines/sci/engine/features.cpp @@ -26,6 +26,7 @@ #include "sci/engine/selector.h" #include "sci/engine/vm.h" +#include "common/config-manager.h" #include "common/file.h" namespace Sci { @@ -42,6 +43,8 @@ GameFeatures::GameFeatures(SegManager *segMan, Kernel *kernel) : _segMan(segMan) _sci2StringFunctionType = kSci2StringFunctionUninitialized; #endif _usesCdTrack = Common::File::exists("cdaudio.map"); + if (ConfMan.hasKey("use_cdaudio") && !ConfMan.getBool("use_cdaudio")) + _usesCdTrack = false; } reg_t GameFeatures::getDetectionAddr(const Common::String &objName, Selector slc, int methodNum) { |