AnyPS5/docs/dev/debt/libSceHmd2.md

2.0 KiB

libSceHmd2 technical debt

Silent stubs

  • libSceHmd2 has no PS VR2 runtime: sceHmd2Initialize fails, and every other export it has (and every libSceVrTracker2 export) throws. PPSA01317 skips its whole VR set-up when initialization fails

Unknown function info

  • sceHmd2Initialize (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 and libSceVrTracker2 exports. Names from the aerolib NID list
  • PPSA15878 imports declared without parameters, signatures unknown: the libSceHmd2 reprojection and gaze exports, sceVrTracker2Finalize, sceVrTracker2GetPlayAreaOrientedBoundingBox and sceVrTracker2LocateCoordinateSystem in libSceVrTracker2, and the scePadVrController trigger effect exports in libScePad. Names from the aerolib NID list

Functional