From b6c9618a4b220552dfd4076ed401378240ee96f9 Mon Sep 17 00:00:00 2001 From: Codex Date: Fri, 30 Oct 2026 01:20:02 +0200 Subject: [PATCH] feat(systemtts): add missing speech inventory exports --- core/libs/prx/libSceSystemTts/Export.cpp | 16 ++++++++++++++++ core/libs/prx/libSceSystemTts/include/Api.hpp | 4 ++++ docs/dev/debt/libSceSystemTts.md | 1 + 3 files changed, 21 insertions(+) diff --git a/core/libs/prx/libSceSystemTts/Export.cpp b/core/libs/prx/libSceSystemTts/Export.cpp index dc975b9b4a..94e3d245ac 100644 --- a/core/libs/prx/libSceSystemTts/Export.cpp +++ b/core/libs/prx/libSceSystemTts/Export.cpp @@ -31,4 +31,20 @@ int APS5_VABI sceSystemTtsUnregisterCallback() { return 0; } +int APS5_VABI sceSystemTtsConvertText() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceSystemTtsPauseResume() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceSystemTtsRepeat() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceSystemTtsWait() { + NotImplemented_nid_no_patch(__func__); +} + } diff --git a/core/libs/prx/libSceSystemTts/include/Api.hpp b/core/libs/prx/libSceSystemTts/include/Api.hpp index d0942cfe30..4d349b0d7b 100644 --- a/core/libs/prx/libSceSystemTts/include/Api.hpp +++ b/core/libs/prx/libSceSystemTts/include/Api.hpp @@ -9,5 +9,9 @@ int APS5_VABI sceSystemTtsIsAccessibilityAvailable(); int APS5_VABI sceSystemTtsRegisterCallback(); int APS5_VABI sceSystemTtsSpeakRequest(); int APS5_VABI sceSystemTtsUnregisterCallback(); +int APS5_VABI sceSystemTtsConvertText(); +int APS5_VABI sceSystemTtsPauseResume(); +int APS5_VABI sceSystemTtsRepeat(); +int APS5_VABI sceSystemTtsWait(); } diff --git a/docs/dev/debt/libSceSystemTts.md b/docs/dev/debt/libSceSystemTts.md index 593c01117d..98719b7fe6 100644 --- a/docs/dev/debt/libSceSystemTts.md +++ b/docs/dev/debt/libSceSystemTts.md @@ -2,4 +2,5 @@ ### Unknown function info +- [sceSystemTtsConvertText, sceSystemTtsPauseResume, sceSystemTtsRepeat, sceSystemTtsWait](../../../core/libs/prx/libSceSystemTts/Export.cpp) have unknown signatures and behaviour. The parameterless `int` declarations are import-resolution placeholders, not confirmed ABI signatures, and throw through `NotImplemented_nid_no_patch`. Only the names and NIDs are established by the [13.60 export inventory](https://github.com/xdCloudy/PS5-13.60-Function-Stub-Library/blob/bfec40deb4c47a17d7603ee2bc79aa6862c0c56b/data/firmware-13.60/libscesystemtts-8f4923bcd1.jsonl). - [sceSystemTtsCancel, sceSystemTtsIsAccessibilityAvailable, sceSystemTtsRegisterCallback, sceSystemTtsSpeakRequest and sceSystemTtsUnregisterCallback](../../../core/libs/prx/libSceSystemTts/Export.cpp) (libSceSystemTts) - names and NIDs are present in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceSystemTts.c), but no credible prototypes were found. The declarations have no parameters solely to resolve known imports; this is not an ABI claim and callers must not call them until signatures are verified