Files
AnyPS5/core/libs/prx/libSceVrTracker/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

130 lines
3.5 KiB
C++

#include <cstdint>
#include <cstddef>
#include "SceTypes.hpp"
#include "prx/libc/include/General.hpp"
extern "C" {
int APS5_VABI sceVrTrackerCpuProcess() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGetResult() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGetTime() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGpuSubmit() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGpuWait() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerInit() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerCpuPopMarker() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerCpuPushMarker() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGetLiveCaptureId() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGetPlayAreaWarningInfo(void* info) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerGpuWaitAndCpuProcess() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerNotifyEndOfCpuProcess(const void* param) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerQueryMemory(const void* param, void* result) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerRecalibrate(const void* param) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerRegisterDevice(int device_type, int handle) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerRegisterDevice2(int device_type, int handle) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerRegisterDeviceInternal(int device_type, int handle, int unk0, int unk1) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerResetAll() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerResetOrientationRelative(int device_type, int handle) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerSaveInternalBuffers() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerSetDeviceRejection() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerSetDurationUntilStatusNotTracking(int device_type, std::uint32_t duration_camera_frames) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerSetExtendedMode() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerSetLEDBrightness() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerSetRestingMode() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerStartLiveCapture() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerStopLiveCapture() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerTerm() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerUnregisterDevice(int handle) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVrTrackerUpdateMotionSensorData(const void* param) {
NotImplemented_nid_no_patch(__func__);
return 0;
}
}