mirror of
https://github.com/libretro/RetroArch
synced 2025-03-14 10:21:46 +00:00
(Win32) Unrevert TTS fallback (#17643)
Originally implemented in 274d47f
This commit is contained in:
parent
6a717fd44c
commit
6bfe3fcb43
@ -1124,9 +1124,12 @@ static bool accessibility_speak_windows(int speed,
|
||||
if (!wc || res != 0)
|
||||
{
|
||||
RARCH_ERR("Error communicating with NVDA\n");
|
||||
/* Fallback on powershell immediately and retry */
|
||||
g_plat_win32_flags &= ~PLAT_WIN32_FLAG_USE_NVDA;
|
||||
g_plat_win32_flags |= PLAT_WIN32_FLAG_USE_POWERSHELL;
|
||||
if (wc)
|
||||
free(wc);
|
||||
return false;
|
||||
return accessibility_speak_windows(speed, speak_text, priority);
|
||||
}
|
||||
|
||||
nvdaController_cancelSpeech_func();
|
||||
|
Loading…
x
Reference in New Issue
Block a user