feat(libSceRudp): implement sceRudpNetReceived and sceRudpEnableInternalIOThread2 #7087
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/7087"
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 Aryansh1520 on 2026-10-17T10:56:49Z.
What
sceRudpNetReceivednow returnsRUDP_ERROR_NOT_INITIALIZEDbeforesceRudpInitand 0 after it, the same assceRudpNetFlush: no packets are ever received offline. It replaces theNotImplementedstub.sceRudpGetOptionis declared with(int ctx_id, int option, void* value, uint32_t len), the shape its PPSA06888 call sites use: the plugin's wrappers pass their first three arguments through and setlento 4. It still throws, because the option codes, defaults and error results are unknown.sceRudpEnableInternalIOThread2takes(uint32_t stack_size, uint32_t priority, uint64_t affinity), from the managedSceRudp.Rudp.EnableInternalIOThread(uint, uint, ulong)in PPSA06888's Unity metadata. LikesceRudpEnableInternalIOThreadit returns success aftersceRudpInitandRUDP_ERROR_NOT_INITIALIZEDbefore it, without starting a thread.sceRudpGetRemoteInfostill has no known signature.GuestRudpPumpnow checks the newsceRudpNetReceivedandsceRudpEnableInternalIOThread2return codes instead of expecting them to throw.Tested
Linux (CachyOS), full build:
libSceRudpand theguest_rudp_status,guest_rudp_context_queriesandguest_rudp_pumptests pass (3/3).tools/check_conventions.py --base origin/mainpasses.tools/pr_overlap.py --branch new-topicreports no overlap. Not run against a title.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)🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-17T10:57:28Z.
Progress report (
a1dfc73→f533fef)📈 System libraries: 81.71% (+0.04%, +2 implemented functions)
✅ 2 implemented
sceRudpEnableInternalIOThread2sceRudpNetReceivedImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-17T11:21:55Z.
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)docs/dev/debt/libSceRudp.mdL12-14Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
core/libs/tests/GuestRudpPump.cppImported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-17T18:53:51Z.
Rebase handoff — rebased onto current
main(authorship unchanged). One docs-debt conflict, unioned.Verified on Linux (CachyOS, kernel 7.2.9, GCC 16.2.1, Ninja, Release,
BUILD_TESTING=ON, AMD RX 9070 XT / RADV): builds; conventions pass; full suite green apart from the knownmainregression (agc_driver_tessellationsegfault — Mesa, #5444), not this PR.To pick it up:
Head is
61031d813.Imported from boykopovar/AnyPS5. Originally posted by blawesom on 2026-10-17T18:54:24Z.
Correction: the first push of
rebase/7087was mid-rebase (one more conflicted commit remained). The complete series is now pushed — all commits, authorship unchanged, head8c5170aaf, full suite green apart from the knownmainregression (agc_driver_tessellation, Mesa #5444), conventions pass.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-19T17:51:19Z.
Checked the Rudp changes against
sceRudpNetFlush/sceRudpEnableInternalIOThreadand the pump test (before and aftersceRudpInit). Pushed one commit cleaningdocs/dev/debt/libSceRudp.md: a stale entry and three duplicated ones sat after a blank line, now one entry per function. Partial ctest on the rebased tree passes; merged.