feat(libSceUlt): accept option parameters in sceUltQueueCreate and sceUltQueueDataResourcePoolCreate #3747
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/3747"
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 13hourstilliland on 2026-10-11T16:19:54Z.
What
sceUltQueueCreateandsceUltQueueDataResourcePoolCreatethrew on any non-null option parameter. They now accept and ignore it, assceUltWaitingQueueResourcePoolCreate,sceUltSemaphoreCreate,sceUltUlthreadRuntimeCreateandsceUltUlthreadCreatealready do. The PS Vita libult in RPCS3 defines both option structures as a 16-byte reserved header followed by reserved fields, 128 bytes in total, with no settings. fpPS4 keeps them as 128 opaque bytes. That the PS5 layout carries no settings either is an assumption, recorded in TechnicalDebt.Tested
Linux (GCC 14.2):
guest_ult_queue_validationno longer expects a throw. It now creates a pool and a queue with a filled 128-byte option parameter and pushes and pops through them. It aborts on currentmainand passes with this change. All 11guest_ulttests pass, andcheck_conventions.pypasses. Not tested with a title.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed in TechnicalDebt.mdfiles or images added to the repository (attach them to this PR)Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-11T16:20:15Z.
Progress report (
529f7bf→0634b44)📈 System libraries: 87.42% (+0.05%, +2 implemented functions)
✅ 2 implemented
sceUltQueueCreatesceUltQueueDataResourcePoolCreateImported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-11T21:58:01Z.
Checked:
guest_ult_queue_validationfails without the change and passes with it; the scoped build and ctest (30 tests) are green on current main.Added one commit: moved the TechnicalDebt line out of the end of its section, where every PR appends and it conflicts.
Merging once CI is green.
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-12T08:24:07Z.
Which title passes a non-null
optParamtosceUltQueueCreateorsceUltQueueDataResourcePoolCreate? On main that call throws, so the title ID and the log line from that run are enough for this to go in.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-12T20:53:08Z.
Checked on current main:
guest_ult_queue_validationfails without the change and passes with it, and the scoped build and ctest (35 tests) are green. The sources cited for the 128-byte reserved option structures (RPCS3, fpPS4) match what the PR says; that PS5 carries no settings is recorded in the technical debt as assumed.Added one commit on top of a rebase: main moved the libSceUlt debt to
docs/dev/debt/libSceUlt.md, so the line now lives there, and I dropped the sentence in the queues line saying option parameters throw, which this PR makes false. Merging once CI is green.@oneandonlydean's question about which title passes a non-null
optParamis still unanswered; the PR is generic and consistent with the other Ult create calls.