feat(libSceRudp): report disconnected context queue state #3467
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3467"
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-11T11:02:49Z.
What
Related to #3073. The current-main import audit for Demon Slayer lists
sceRudpGetNumberOfPacketsToRead,sceRudpGetSizeWritableandsceRudpGetSizeReadableamong the missinglibSceRudpexports. This PR implements these three per-context queries using the console measurements linked in the issue.0x80770001(NOT_INITIALIZED).0x80770004(INVALID_ARGUMENT); an unknown or ended context returns0x80770003(INVALID_CONTEXT_ID).0x80770011(NOT_ACCEPTABLE).Tested
guest_rudp_context_queries_tests;guest_rudp_context_queriespassed three consecutive runs.python3 tools/check_conventions.py --base upstream/mainandgit diff --checkpassed.Checklist
main(0f863c10); no open PR implements these same exports.mdfiles or images added to the repositoryImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T11:03:14Z.
Progress report (
0f863c1→58bf763)📈 System libraries: 85.76% (+0.02%, +3 implemented functions)
✅ 3 implemented
sceRudpGetNumberOfPacketsToReadsceRudpGetSizeReadablesceRudpGetSizeWritableImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T11:50:47Z.
Checked the three exports against the PS5 measurements in #3073 (not-initialized, -1, unknown/ended id, created-but-disconnected context): all rows match. Build and ctest of
core/libsgreen,guest_rudp_context_queriespasses and doesn't link without the change; PR checks green. Merging.