feat(libSceNpWebApi): declare two stubs with shadPS4's signatures #10698
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/10698"
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 MarcZX10 on 2026-10-24T18:29:40Z.
What
Replaces the empty parameter lists of two
libSceNpWebApistubs with typed ones:sceNpWebApiGetHttpStatusCode(int64_t, int*)andsceNpWebApiReadData(int64_t, void*, size_t). Both bodies still throw throughNotImplemented_nid_no_patch. The other seven stubs this PR originally covered are now implemented onmain, so they are no longer part of it.The only source is shadPS4's PS4-derived prototypes (GPLv2, used as a reference only; nothing is copied). There is no second reference and nothing is measured on a PS5. Structure pointers are
void*because no layout is known. A new entry indocs/dev/debt/libSceNpWebApi.mdsays this. Two commits: declarations (Export.cppandApi.hpp), debt entry.Tested
Linux, GCC, rebased onto current
main; the cmake configure and a syntax check of the changed sources pass.tools/check_conventions.py --base upstream/main --head HEADandgit diff --checkpass. No title or hardware run: throwing stubs, same behaviour as before.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)