Repository navigation
fix(exports): export the PS VR2 calls PPSA07411 imports that no library has - #4044
Merged
oneandonlydean merged 2 commits intoOct 12, 2026
Merged
Conversation
…ry has PPSA07411 (Resident Evil 4) fails to load without these imports. 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>
9 tasks done
Progress report (dd1cf5c → 859d0b1)📉 System libraries: 86.07% (-0.17%, +7 declared functions) 🆕 7 declared as stubs
|
9 tasks done
main has sceHmd2GetFieldOfViewWithoutHandle only; PPSA07411 imports sceHmd2GetFieldOfView. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This was referenced Oct 11, 2026
9 tasks done
This was referenced Oct 12, 2026
This was referenced Oct 14, 2026
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 fix(libkernel): restore Windows select build for Demons Souls testing #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 feat(libs): declare the PS VR2 exports PPSA15878 imports #3537, feat(libSceJson2): implement InitParameter2 constructors #3737, feat(exports): implement three small PRAGMATA exports #3791, fix(libSceNpTrophy2): accept a null details or data in GetTrophyInfo and GetGroupInfo #3517, feat(libSceNpAuth): implement offline auth requests #3604 and feat(libSceNet): export sce_net_in6addr_linklocal_allnodes #3707 lists exactly these names (together with the ones in fix(exports): export the calls PPSA07411 imports #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)