diff options
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index 16b7a1f72f..4b0961bc3c 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -54,6 +54,10 @@ #include "common/ustr.h" #include "common/encoding.h" +#ifdef USE_WINDOWS_TTS +#include "backends/text-to-speech/windows/windows-text-to-speech.h" +#endif + #define DEFAULT_CONFIG_FILE "scummvm.ini" void OSystem_Win32::init() { @@ -115,6 +119,9 @@ void OSystem_Win32::initBackend() { // Initialize updates manager _updateManager = new Win32UpdateManager(); #endif +#ifdef USE_WINDOWS_TTS + _textToSpeechManager = new WindowsTextToSpeechManager(); +#endif // Invoke parent implementation of this method OSystem_SDL::initBackend(); |