feat(libSceNetCtl): implement sceNetCtlRegisterCallbackV6 and sceNetCtlUnregisterCallbackV6 #5427
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/5427"
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 mariusyo07 on 2026-10-13T19:27:59Z.
What
Implements
sceNetCtlRegisterCallbackV6andsceNetCtlUnregisterCallbackV6in libSceNetCtl.METAL GEAR SOLID: Peace Walker - Master Collection Version (PPSA18216) stops on
mainwhen relinkingmgspw.elf(#5268):g_callbacksV6) capped atMAX_CALLBACKS(8) matching the IPv4 callbacks.RegisterCallbackandUnregisterCallbackhandle slot allocation, boundary checks, and thread synchronization underg_callbackLock.SCE_NET_CTL_ERROR_INVALID_ADDR, reaching the capacity limit returnsSCE_NET_CTL_ERROR_CALLBACK_MAX, and invalid callback IDs returnSCE_NET_CTL_ERROR_INVALID_ID.Tested
core/libs/prx/libSceNetCtl/Export.cppandcore/libs/tests/GuestSceNet.cppcompile cleanly.guest_sce_net_testsinGuestSceNet.cpptestssceNetCtlRegisterCallbackV6andsceNetCtlUnregisterCallbackV6(null parameter checks, registering up to 8 callbacks, failure when exceedingMAX_CALLBACKS, unregistering out-of-bounds IDs, slot reuse upon unregistering, and clean teardown). The test fails to link onmainwithout the exports.python3 tools/check_conventions.py --base upstream/main: all checks passed.git diff --check: passes with no whitespace or style warnings.python3 tools/pr_overlap.py --branch feat/netctl-v6-callbacks: no overlap with open pull requests.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 repositoryImported from boykopovar/AnyPS5. Originally posted by copilot-pull-request-reviewer[bot] on 2026-10-13T19:28:05Z.
Review: COMMENTED
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-13T19:28:49Z.
Progress report (
dacd785→742b7ba)📈 System libraries: 88.16% (+0.01%, +2 implemented functions)
✅ 2 implemented
sceNetCtlRegisterCallbackV6sceNetCtlUnregisterCallbackV6