feat(libSceAppContent): implement sceAppContentGetAddcontInfo and GetAddcontInfoList #835
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/835"
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 adriadam10 on 2026-10-06T08:21:41Z.
What
Implements two libSceAppContent exports that
maindoesn't declare yet, using the same no-add-content model as the existingsceAppContentAddcontMount/AddcontUnmount(nothing is installed):sceAppContentGetAddcontInfo(serviceLabel, entitlementLabel, info): null label or info →SCE_APP_CONTENT_ERROR_PARAMETER(0x80D90002); otherwiseSCE_APP_CONTENT_ERROR_DRM_NO_ENTITLEMENT(0x80D90007),infountouched. Same as shadPS4, fpPS4 and prosper when the label isn't found.sceAppContentGetAddcontInfoList(serviceLabel, list, listNum, hitNum): a count query (nulllistorlistNum == 0) needshitNum, elsePARAMETER; on a list callhitNumis optional.*hitNum = 0, returns 0, nothing written tolist. Parameter rules follow shadPS4 and prosper (both agree); fpPS4 writeshitNum = 0without parameter checks.Error values match KytyPS5, shadPS4, fpPS4 and prosper.
SceAppContentAddcontInfo(label +u32status, 24 bytes) from SharpProspero; no field is written here.TechnicalDebt: the existing "Additional content" line now also covers these two.
Tested
Linux,
guest_appcontentextended: GetAddcontInfo returnsDRM_NO_ENTITLEMENTwithinfountouched, both null-pointer errors; GetAddcontInfoList count query with null list / zero count, list call with and withouthitNum,hitNumset to 0, list untouched, the three missing-hitNumcount-query errors. Each check fails when its piece is mutated (5 mutants). Onmainthe test doesn't link (the exports don't exist). Release build +guest_ctest green.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-06T08:22:04Z.
Progress report (
2b8f0b2→5b331ed)📈 System libraries: 86.0% (+0.01%, +2 implemented functions)
✅ 2 implemented
sceAppContentGetAddcontInfosceAppContentGetAddcontInfoListImported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T21:24:15Z.
Thanks, this is ready to merge, but it now conflicts with main in
docs/dev/TechnicalDebt.mdafter the last batch landed. Could you rebase onto main? I'll merge once CI is green.Imported from boykopovar/AnyPS5. Originally posted by adriadam10 on 2026-10-07T16:10:25Z.
Rebased onto main (TechnicalDebt conflict only: kept the extended "Additional content" line next to the new sceNetSendmsg one). Build + full ctest green locally,
guest_appcontentincluded; merging once CI is green.Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-07T16:25:06Z.
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)core/libs/tests/GuestAppContent.cppL26docs/dev/TechnicalDebt.mdL205core/libs/prx/libSceAppContent/Export.cppL13-14docs/dev/TechnicalDebt.mdL205