Merge pull request #3819 from xXPBSXx/fix/export-ppsa29866-imports-v4

fix(exports): export the calls PPSA29866 imports
This commit is contained in:
Dean 2026-10-13 09:59:30 +13:00 committed by GitHub
commit 307c0a3afb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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