fix(exports): export the PS VR2 calls PPSA07411 imports that no library has #4044
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4044"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T22:02:43Z.
What
Resident Evil 4 (PPSA07411) imports seven PS VR2 calls that no library exports; #3537 adds other calls of the same family but not these. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317:
libSceHmd2sceHmd2GetDeviceInformationByHandle,sceHmd2GetFieldOfView,sceHmd2TerminatelibScePadscePadVrControllerSetVibration,scePadVrControllerSetVibrationMode,scePadVrControllerReadCombinedStatelibSceVrTracker2sceVrTracker2ResetLocalCoordinateNames come from the aerolib NID list (
tools/nid_names.py). No test is added, since CONTRIBUTING says not to test that a symbol is exported; a TechnicalDebt entry lists the stubs. Overlap with #3537, checked withgh pr diff 3537: it declaressceHmd2GazeGetResult,sceHmd2Reprojection{DisableMirroring,EnableMirroring,GetMirroringDisplayBufferSizeAlign,GetMirroringWorkMemorySizeAlign,SetMirroringOption,SetParam,SetTiming,Terminate},scePadVrControllerGetTriggerEffectState,scePadVrControllerSetTriggerEffect(s),sceVrTracker2Finalize,sceVrTracker2GetPlayAreaOrientedBoundingBoxandsceVrTracker2LocateCoordinateSystem; none of the seven names here (mainhassceHmd2GetFieldOfViewWithoutHandlebut notsceHmd2GetFieldOfView). Both PRs append to the same threeExport.cppfiles, so they can conflict textually; this PR therefore inserts after the first function of each file. The title's other missing imports are covered by #3773 (Ssl, Json, ConvertKeycode, NpSessionSignaling), #3737 (JsonsetSpecialFloatFormatType), #3707 (libSceNet) and #3537. Each stub is added after the first function of its file, away from the end where #3537 appends.Tested
libSceHmd2,libScePadandlibSceVrTracker2build (on a base from before this rebase, with #4021 applied for the unrelated WindowsHostPollbuild break of the currentmain);tools/check_conventions.py --base upstream/mainpasses after rebasing ontomain. I searched the open PRs for these names and found none.mainplus #3537, #3737, #3791, #3517, #3604 and #3707 lists exactly these names (together with the ones in #3773) as the remaining absent imports.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:25:05Z.
Progress report (
dd1cf5c→859d0b1)📉 System libraries: 86.07% (-0.17%, +7 declared functions)
🆕 7 declared as stubs
sceHmd2GetDeviceInformationByHandlesceHmd2GetFieldOfViewsceHmd2TerminatescePadVrControllerReadCombinedStatescePadVrControllerSetVibrationscePadVrControllerSetVibrationModesceVrTracker2ResetLocalCoordinateImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:28:18Z.
Other open pull requests touch the same code. Merging one will break the other, or both implement the same thing. If this one builds on them, list them in Depends on.
main)core/libs/prx/libSceHmd2/Export.cppL18-21