diff options
author | Filippos Karapetis | 2012-03-31 13:55:03 +0300 |
---|---|---|
committer | Filippos Karapetis | 2012-03-31 13:55:03 +0300 |
commit | 6a49d3eadd7555a4f5f539ceb73fdfe370fce9da (patch) | |
tree | 9bee862bbd896efe29573c73938f84159be8e5b1 /engines/sci/sound | |
parent | 7f9c63239b2f360b6d96e8ff4dd007b80d990e46 (diff) | |
download | scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.tar.gz scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.tar.bz2 scummvm-rg350-6a49d3eadd7555a4f5f539ceb73fdfe370fce9da.zip |
ENGINES: Return all available custom GUI options if no target is specified
This is used to set default settings for all custom game options when an
engine starts
Diffstat (limited to 'engines/sci/sound')
-rw-r--r-- | engines/sci/sound/soundcmd.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/sci/sound/soundcmd.cpp b/engines/sci/sound/soundcmd.cpp index 8481f10171..05bb90332a 100644 --- a/engines/sci/sound/soundcmd.cpp +++ b/engines/sci/sound/soundcmd.cpp @@ -44,10 +44,7 @@ SoundCommandParser::SoundCommandParser(ResourceManager *resMan, SegManager *segM // resource number, but it's totally unrelated to the menu music). // The GK1 demo (very late SCI1.1) does the same thing // TODO: Check the QFG4 demo - - // If the prefer_digitalsfx key is missing, default to enable digital SFX - bool preferDigitalSfx = !ConfMan.hasKey("prefer_digitalsfx") || ConfMan.getBool("prefer_digitalsfx"); - _useDigitalSFX = (getSciVersion() >= SCI_VERSION_2 || g_sci->getGameId() == GID_GK1 || preferDigitalSfx); + _useDigitalSFX = (getSciVersion() >= SCI_VERSION_2 || g_sci->getGameId() == GID_GK1 || ConfMan.getBool("prefer_digitalsfx")); _music = new SciMusic(_soundVersion, _useDigitalSFX); _music->init(); |