Files
AnyPS5/core/libs/prx/libSceSysUtil/Export.cpp
T
juanpimg 1f1add461e feat(prx): declare the missing PS5 3.20 system exports in the next tier of libraries
AnyPS5 resolves a title's imports by NID, so a title that imports a system
function that no AnyPS5 library provides fails to load with an unresolved
import. This declares 222 such exports across 11 PS5 system libraries that
AnyPS5 implements but does not provide.

Each declaration calls NotImplemented_nid_no_patch and returns 0; none of
them implements the function. A declaration with a credible prototype uses
it and cites the source with a pinned commit; the rest are declared without
parameters, which resolves the import without making an ABI claim. The
technical-debt files record the limitation per library.

The list is the intersection of the export table of the console's library
(function symbols only), the pinned aerolib names and the functions not yet
defined anywhere in the repo. Every name recomputes to its NID with
tools/nid_names.py.

libSceAudio3d and libSceVoice are left out because #8331 declares them.
2026-10-20 23:22:17 +02:00

129 lines
3.0 KiB
C++

#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
extern "C" {
int APS5_VABI sceSysUtilSendSystemNotificationWithText(int32_t type, const char* message) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendAddressingSystemNotification() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendAddressingSystemNotificationWithDeviceId() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendAddressingSystemNotificationWithUserId() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendAddressingSystemNotificationWithUserName() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendNotificationRequest() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendNpDebugNotificationRequest() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotification() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotification2() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationParamInit() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithAppId() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithAppInfo() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithAppName() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithAppNameRelatedToUser() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithDeviceId() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithDeviceIdRelatedToUser() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithErrorCode() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithParams() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithTextRelatedToUser() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithUserId() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithUserName() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendSystemNotificationWithUserNameInfo() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendTrcCheckNotificationRequest() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceSysUtilSendWebDebugNotificationRequest() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}