mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-15 02:29:51 +01:00
The basic setup to be able to call the NVDA text-to-speech API on Win64 only.
This commit is contained in:
1 parent
738b7fc630
commit
1c5c2598c8
12 files changed
+746
-2
No files matched your search
@@ -40,6 +40,7 @@
|
||||
#include "Common/Input/KeyCodes.h"
|
||||
#include "Common/Thread/ThreadUtil.h"
|
||||
#include "Common/Data/Encoding/Utf8.h"
|
||||
#include "Common/TTS/TTS.h"
|
||||
|
||||
#include "Core/Core.h"
|
||||
#include "Core/Config.h"
|
||||
@@ -473,6 +474,11 @@ namespace MainWindow
|
||||
}
|
||||
|
||||
void UpdateWindowTitle() {
|
||||
if (TTS_Active()) {
|
||||
// Don't want to speak the whole version number in debug mode, etc...
|
||||
SetWindowText(hwndMain, L"PPSSPP");
|
||||
return;
|
||||
}
|
||||
// Seems to be fine to call now since we use a UNICODE build...
|
||||
std::wstring title = windowTitle;
|
||||
if (PPSSPP_ID >= 1 && GetInstancePeerCount() > 1) {
|
||||
|
||||
Reference in new issue
Block a user