Revert "GUI: honor tts_enabled option in some more places"
This reverts commit 5969a2667a
.
This commit is contained in:
parent
ff1957196d
commit
5cba8f9242
2 changed files with 4 additions and 5 deletions
|
@ -666,7 +666,7 @@ void Engine::openMainMenuDialog() {
|
|||
if (!_mainMenuDialog)
|
||||
_mainMenuDialog = new MainMenuDialog(this);
|
||||
Common::TextToSpeechManager *ttsMan = g_system->getTextToSpeechManager();
|
||||
if (ttsMan != nullptr && ConfMan.hasKey("tts_enabled", "scummvm") && ConfMan.getBool("tts_enabled", "scummvm")) {
|
||||
if (ttsMan != nullptr) {
|
||||
ttsMan->pushState();
|
||||
g_gui.initTextToSpeech();
|
||||
}
|
||||
|
@ -697,7 +697,7 @@ void Engine::openMainMenuDialog() {
|
|||
}
|
||||
}
|
||||
|
||||
if (ttsMan != nullptr && ConfMan.hasKey("tts_enabled", "scummvm") && ConfMan.getBool("tts_enabled", "scummvm"))
|
||||
if (ttsMan != nullptr)
|
||||
ttsMan->popState();
|
||||
|
||||
g_system->applyBackendSettings();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue