libSceNpPartner001: sceNpEAAccessInitialize and sceNpEAAccessTerminate are stubs (UFC 6 imports); fix branch ready #3339
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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 screamm on 2026-10-11T08:07:47Z.
sceNpEAAccessInitializeandsceNpEAAccessTerminate(libSceNpPartner001, Export.cpp) areNotImplemented_nid_no_patchstubs. UFC 6 (PPSA23566) imports them (#992, #1502); no run has stopped on them yet.Fix branch ready:
screamm:feat/np-ea-access-init(b86fc652, one commit onmaina4b0b16b). I cannot open it as a PR because of the intake check; anyone eligible is welcome to carry it, keeping the commit as is. The intake-closed #1517 and #2358 implemented them with different return codes; this is a rewrite on currentmain.src/core/libraries/np/np_partner.cpp, #1517 and #2358 agree. The init/term state follows thelibSceContentDeletepattern in this repo. Where the sources disagree the call throws: terminate without initialize (shadPS4 returns the PS40x819D0001, #1517 copied it, #2358 threw; the PS5 value is unknown) and a second initialize (shadPS4's stubbed initialize returns 0 unconditionally, #1517 threw). Recorded in TechnicalDebt together with the unknown signed-out behaviour.guest_np_partner(the library gets aCMakeLists.txttest block in thelibSceContentExportlayout) covers terminate without init, init, double init, terminate, terminate again, and a second cycle.Tested on Windows 11 Pro 26220, WinLibs MinGW-w64 GCC 15.2.0 r7, Ninja, Release,
BUILD_TESTING=ON, full build includinglibs:guest_np_partner3/3;ctest -j8 -E "^agc_driver_|^video_out_flip"508/508 (with the #3329 test fix applied locally so the tree builds); withmain'sExport.cppthe test fails;tools/check_conventions.py --base mainandgit diff --checkpass. Not run on Linux.Written with Claude Code assistance (implementation by a subagent, reviewed and validated in this session).
Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-11T09:52:48Z.
Independent verification on Linux (the gap noted in the report): CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON.b86fc652onto currentmain(the branch was 244 commits behind): one conflict indocs/dev/TechnicalDebt.md, resolved by keeping both this entry and main's newer entries; no code conflicts.tools/check_conventions.py --base origin/mainandgit diff --checkpass.guest_np_partnerpasses.ctest -j8 -E "^agc_driver_|^video_out_flip"): 521/521 passed.The rebased branch is available at
blawesom:verify/3339for anyone carrying — the commit is otherwise unchanged.Imported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-11T15:56:27Z.
Carried David’s ready commit unchanged into #3718, preserving its author metadata. The change is based on current main; the independently reported Linux verification is included in the PR description.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:07:53Z.
Closing: fixed by #3718.