fix(exports): export the calls PPSA29866 imports

PPSA29866 (Tomba! 2) fails to load without these imports that no library exports. Their signatures are unknown, so they are declared without parameters and throw until they are implemented. Adds a TechnicalDebt entry.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
xXPBSXx 2026-10-11 19:11:55 +02:00
parent 2f4cc8983b
commit 0485570577
3 changed files with 16 additions and 0 deletions

View File

@ -11,6 +11,11 @@ constexpr std::int32_t SCE_HMD2_ERROR_UNSUPPORTED_FEATURE = static_cast<std::int
extern "C" {
int APS5_VABI sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
std::int32_t APS5_VABI sceHmd2Initialize(const void* param) {
(void)param;
return SCE_HMD2_ERROR_UNSUPPORTED_FEATURE;

View File

@ -7,6 +7,16 @@
extern "C" {
int APS5_VABI sceVideoOutSetFlipMaster() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVideoOutClearFlipMaster() {
NotImplemented_nid_no_patch(__func__);
return 0;
}
int APS5_VABI sceVideoOutGetOutputStatusWithVrr(int handle, void* status) {
NotImplemented_nid_no_patch(__func__);
return 0;

View File

@ -6,6 +6,7 @@
### Unknown function info
- PPSA29866 imports declared without parameters, signatures unknown, added without an implementation because the title fails to load without them: [sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign](../../../core/libs/prx/libSceHmd2/Export.cpp) (libSceHmd2), [sceVideoOutSetFlipMaster and sceVideoOutClearFlipMaster](../../../core/libs/prx/libSceVideoOut/Unimplemented.cpp) (libSceVideoOut)
- [sceHmd2Initialize](../../../core/libs/prx/libSceHmd2/Export.cpp) (libSceHmd2) - the error the console returns when the PS VR2 runtime is unavailable is unknown; it returns libSceHmd's `UNSUPPORTED_FEATURE` (0x81110016). PPSA01317 passes a pointer to 16 zeroed bytes and only tests the result for non-zero
- PPSA01317 imports declared without parameters, signatures unknown: the remaining [libSceHmd2](../../../core/libs/prx/libSceHmd2/Export.cpp) and [libSceVrTracker2](../../../core/libs/prx/libSceVrTracker2/Export.cpp) exports. Names from the aerolib NID list
- PPSA15878 imports declared without parameters, signatures unknown: the [libSceHmd2](../../../core/libs/prx/libSceHmd2/Export.cpp) reprojection and gaze exports, `sceVrTracker2Finalize`, `sceVrTracker2GetPlayAreaOrientedBoundingBox` and `sceVrTracker2LocateCoordinateSystem` in [libSceVrTracker2](../../../core/libs/prx/libSceVrTracker2/Export.cpp), and the `scePadVrController` trigger effect exports in [libScePad](../../../core/libs/prx/libScePad/Export.cpp). Names from the aerolib NID list