mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-14 21:59:17 +00:00
SHERLOCK: SS: Fix audio getting disabled after changing sound settings
This commit is contained in:
parent
3fa3a7197a
commit
35d5533361
@ -90,7 +90,7 @@ Sound::Sound(SherlockEngine *vm, Audio::Mixer *mixer) : _vm(vm), _mixer(mixer) {
|
||||
void Sound::syncSoundSettings() {
|
||||
_digitized = !ConfMan.getBool("mute");
|
||||
_speechOn = !ConfMan.getBool("mute") && !ConfMan.getBool("speech_mute");
|
||||
_voices = _speechOn ? 1 : 0;
|
||||
_voices = _digitized ? 1 : 0;
|
||||
}
|
||||
|
||||
void Sound::loadSound(const Common::String &name, int priority) {
|
||||
|
Loading…
Reference in New Issue
Block a user