Repository navigation
fix(exports): export the calls PPSA07411 imports - #3773
Conversation
PPSA07411 (Resident Evil 4) 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 one test and a TechnicalDebt entry. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Progress report (a11c8f7 → f854e52)📉 System libraries: 85.51% (-0.3%, +12 declared functions) 🆕 12 declared as stubs
|
CONTRIBUTING asks for no tests that only check that a symbol is exported. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Update: removed AI-assisted (Claude Code). |
…e file Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
|
Checked the 12 names against the aerolib NID list, no overlap with open PRs on these exports, scoped build and ctest (22/22) on current main, conventions check green; merging. |
|
Correction to this description: it said the PS VR2 imports of Resident Evil 4 are already added by #3537. That was wrong. #3537 adds only part of that family ( AI-assisted (Claude Code). |
What
Resident Evil 4 (PPSA07411) fails to load because 12 imports have no export. This PR declares them without parameters as throwing stubs (signatures unknown), as #1347 did for PPSA01317:
libSceSsl(6)sceSslCreateConnection,sceSslDeleteConnection,sceSslEnableVerifyOption,sceSslConnect,sceSslRead,sceSslWritelibSceJson2(4)sce::Json::Value::setElementAccessFailureHandler,setSpecialFloatHandler,setTypeMismatchHandler,operator boollibSceConvertKeycode(1)sceConvertKeycodeGetCharacterlibSceNpSessionSignaling(1)sceNpSessionSignalingGetGroupFromSessionIdNames come from the aerolib NID list (
tools/nid_names.py). The title's other missing imports are not in this PR:sce::Json::InitParameter2::setSpecialFloatFormatTypeis added by #3737 (and #3575), and the PS VR2 calls are split between #3537 and the follow-up #4044. #3537 addssceHmd2GazeGetResult,sceHmd2Reprojection{Disable,Enable}Mirroring,...GetMirroring{DisplayBufferSizeAlign,WorkMemorySizeAlign},...SetMirroringOption,...SetParam,...SetTiming,...Terminate,scePadVrControllerGetTriggerEffectState,...SetTriggerEffect(s),sceVrTracker2Finalize,...GetPlayAreaOrientedBoundingBoxand...LocateCoordinateSystem; #4044 declares the six RE4 imports that #3537 does not have. An earlier version of this description said #3537 contains all of them; that was wrong.Tested
main(a11c8f7f7):ctest -R "guest_ppsa07411_exports|guest_ssl|guest_json"passes;tools/check_conventions.py --base upstream/mainpasses.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)