feat(syslib): implement 22 functions, raise coverage to 86.84% #4064
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/4064"
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 ZekriDev1 on 2026-10-11T22:33:18Z.
What
Implements 22 system-library functions on top of current main, raising coverage from 2973/3449 (86.20%) to 2995/3449 (86.84%) with no denominator change. Includes the sceKernelGetEventError fix (FreeBSD EV_ERROR semantics). Every function follows an already-accepted in-repo model with a focused test:
Rebased onto current main; yielded SigninDialog, Http epoll work, and 4 entitlement queries to upstream implementations. NpAuth (3) and NpPartner001 (2) removed in favor of open #3604 and #3718; rebase planned after they merge. Supersedes #4046, which could not be reopened after the rebase force-push.
Unverified on console and disclosed: gesture/share codes (in-repo precedent only), abort/accept semantics.
Tested
43bc17f7ed--head HEAD -> passChecklist
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T22:45:02Z.
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/libSceNet/Export.cppL1303-1304core/libs/prx/libSceShare/Export.cppL107-110core/libs/prx/libSceAudioOut/tests/AudioOut2Latency.cppL13, L62, L70core/libs/tests/GuestNpWebApi2.cppL17Imported from boykopovar/AnyPS5. Originally posted by sktharunbalaji13-cmd on 2026-10-12T05:42:04Z.
One question about
sceNpSetContentRestriction: this currently returns success for both null and non-null restrictions, but the restriction is opaque (std::uint8_t opaque[128]) and doesn't appear to be stored or enforced anywhere in the library. Since the libSceNpManager model reports the user as signed out when PSN isn't emulated, could unconditional success mislead a guest into believing the restriction was applied?The neighboring NP APIs generally validate null pointers and return an NP error when the service is unavailable —
sceNpGetAccountAgeandsceNpGetNpIdboth check their pointer and then returnSCE_NP_ERROR_SIGNED_OUT.I don't have console measurements for this function, so I'm raising this as a consistency and guest-visible-behavior concern rather than claiming the exact return code is known. Would it make sense to document the no-op behavior explicitly, or to use the existing signed-out error convention?
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-12T08:29:48Z.
Closing: this removes the throw from 22 exports in 12 libraries to raise the progress figure, none of them is tied to a title, and by the description it was never built or run. Please reopen one library at a time, built and tested, with the title that stops at the function on main.
Pull request closed