diff --git a/core/libs/prx/libSceAudioSystem/Export.cpp b/core/libs/prx/libSceAudioSystem/Export.cpp index de11eb33dd..09a91b16b5 100644 --- a/core/libs/prx/libSceAudioSystem/Export.cpp +++ b/core/libs/prx/libSceAudioSystem/Export.cpp @@ -16,4 +16,28 @@ int APS5_VABI sceAudioSystemSystemSuspend() { return 0; } +int APS5_VABI sceAudioSystemInit() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceAudioSystemProcessAdd() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceAudioSystemProcessRemove() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceAudioSystemProcessResume() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceAudioSystemProcessSuspend() { + NotImplemented_nid_no_patch(__func__); +} + +int APS5_VABI sceAudioSystemTerminate() { + NotImplemented_nid_no_patch(__func__); +} + } diff --git a/core/libs/prx/libSceAudioSystem/include/Api.hpp b/core/libs/prx/libSceAudioSystem/include/Api.hpp index c15ab7a627..2a5bf8e309 100644 --- a/core/libs/prx/libSceAudioSystem/include/Api.hpp +++ b/core/libs/prx/libSceAudioSystem/include/Api.hpp @@ -6,5 +6,11 @@ extern "C" { int APS5_VABI sceAudioSystemSystemResume(); int APS5_VABI sceAudioSystemSystemSuspend(); +int APS5_VABI sceAudioSystemInit(); +int APS5_VABI sceAudioSystemProcessAdd(); +int APS5_VABI sceAudioSystemProcessRemove(); +int APS5_VABI sceAudioSystemProcessResume(); +int APS5_VABI sceAudioSystemProcessSuspend(); +int APS5_VABI sceAudioSystemTerminate(); } diff --git a/docs/dev/debt/libSceAudioSystem.md b/docs/dev/debt/libSceAudioSystem.md index 0595a501f9..b572e26258 100644 --- a/docs/dev/debt/libSceAudioSystem.md +++ b/docs/dev/debt/libSceAudioSystem.md @@ -2,4 +2,5 @@ ### Unknown function info +- [sceAudioSystemInit, sceAudioSystemProcessAdd, sceAudioSystemProcessRemove, sceAudioSystemProcessResume, sceAudioSystemProcessSuspend, sceAudioSystemTerminate](../../../core/libs/prx/libSceAudioSystem/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/libsceaudiosystem-bfe74a18cc.jsonl). - [sceAudioSystemSystemResume and sceAudioSystemSystemSuspend](../../../core/libs/prx/libSceAudioSystem/Export.cpp) (libSceAudioSystem) - names and NIDs are present in the [PS5 3.20 export inventory](https://github.com/DNNDHH/PS5-3.20_Libs/blob/b2a77c09cd71c01f34c790cfbe98c751a13262ad/libSceAudioSystem.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