aboutsummaryrefslogtreecommitdiff
path: root/backends/platform
diff options
context:
space:
mode:
authorJaromir Wysoglad2019-07-19 09:56:26 +0200
committerFilippos Karapetis2019-09-01 22:47:55 +0300
commit3027acc12e97fe92f617dd4a95a5861625773c38 (patch)
treed91e28dc4361f8c47688f363265a5c248daf322a /backends/platform
parentb5d5576f90c177c54170a4e68b251c2fd5219260 (diff)
downloadscummvm-rg350-3027acc12e97fe92f617dd4a95a5861625773c38.tar.gz
scummvm-rg350-3027acc12e97fe92f617dd4a95a5861625773c38.tar.bz2
scummvm-rg350-3027acc12e97fe92f617dd4a95a5861625773c38.zip
TTS: Minor refactorisations
- Add comment to tts initialization on Windows - Correctly free the voicesInfo in linux ttsMan - Remove popState method from linux-text-to-speech.h and windows-text-to-speech.h - Add tts to help in configure - Refactor language setting in gui-manager.cpp It counted with english being the default language in ttsMan constructors, which isn't true anymore.
Diffstat (limited to 'backends/platform')
-rw-r--r--backends/platform/sdl/win32/win32.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp
index 4b0961bc3c..4328773c36 100644
--- a/backends/platform/sdl/win32/win32.cpp
+++ b/backends/platform/sdl/win32/win32.cpp
@@ -119,6 +119,8 @@ void OSystem_Win32::initBackend() {
// Initialize updates manager
_updateManager = new Win32UpdateManager();
#endif
+
+ // Initialize text to speech
#ifdef USE_WINDOWS_TTS
_textToSpeechManager = new WindowsTextToSpeechManager();
#endif