mirror of
https://github.com/libretro/scummvm.git
synced 2024-11-27 11:20:40 +00:00
Add music_mute config option to Simon 1/2
svn-id: r11825
This commit is contained in:
parent
522938f7fa
commit
fdbceaf5e3
1
README
1
README
@ -866,6 +866,7 @@ Flight of the Amazon Queen adds the following non-standard keywords:
|
||||
Simon the Sorcerer 1 & 2 add the following non-standard keywords:
|
||||
|
||||
fade bool If true, fade effect is enabled
|
||||
music_mute bool If true, music is muted
|
||||
slow_down number Makes games slower (1- 10)
|
||||
sfx_mute bool If true, sound effects are muted
|
||||
speech_mute bool If true, speech is muted
|
||||
|
@ -556,6 +556,9 @@ SimonEngine::SimonEngine(GameDetector *detector, OSystem *syst)
|
||||
_debugLevel = ConfMan.getInt("debuglevel");
|
||||
_language = Common::parseLanguage(ConfMan.get("language"));
|
||||
|
||||
if (ConfMan.hasKey("music_mute") && ConfMan.getBool("music_mute") == 1)
|
||||
midi.pause(_music_paused ^= 1);
|
||||
|
||||
if ((_game & GF_SIMON2) && ConfMan.hasKey("speech_mute") && ConfMan.getBool("speech_mute") == 1)
|
||||
_speech = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user