Files
AnyPS5/docs/dev/debt/libSceHmd2.md
T
xXPBSXxandClaude Sonnet 5.5 0485570577 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>
2026-10-12 21:32:38 +02:00

2.4 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

  • PPSA29866 imports declared without parameters, signatures unknown, added without an implementation because the title fails to load without them: sceHmd2ReprojectionQuerySeeThroughBufferSizeAlign (libSceHmd2), sceVideoOutSetFlipMaster and sceVideoOutClearFlipMaster (libSceVideoOut)
  • 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