feat(libSceAppContent): answer add-content mounts without installed content #796
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/796"
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 CnRJay on 2026-10-06T01:19:11Z.
The emulator doesn't install any additional content (DLC). This PR makes the add-content mount calls report that, instead of throwing:
sceAppContentAddcontMountreturnsSCE_APP_CONTENT_ERROR_NOT_FOUND(0x80D90005) and leaves the mount point untouched.sceAppContentAddcontUnmountreturnsNOT_FOUND, since no mount point is ever handed out.SCE_APP_CONTENT_ERROR_PARAMETER.The error codes and the "missing content returns
NOT_FOUND" rule match shadPS4 and the prosper reimplementation. The lack of add-content support is recorded under Functional indocs/dev/TechnicalDebt.md.libSceAppContent gets its own
CMakeLists.txt, following the libSceGameUpdate pattern, for the newguest_appcontenttest. The full ctest suite passes (338/338), and libraries go from 2712 to 2714 out of 3342.🤖 Generated with Claude Code
Imported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T01:19:34Z.
Progress report (
fe98276→ebe0515)📈 System libraries: 81.66% (+0.06%, +2 implemented functions)
✅ 2 implemented
sceAppContentAddcontMountsceAppContentAddcontUnmountImported from boykopovar/AnyPS5. Originally posted by github-actions[bot] on 2026-10-06T02:13:52Z.
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/TechnicalDebt.mdL128Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-06T03:27:15Z.
Thanks. Reporting
NOT_FOUNDfromsceAppContentAddcontMountwhen no add-content is installed matches what I'd expect, and leaving the mount point untouched is a good detail to test.A question on
sceAppContentAddcontUnmount: since no mount point is ever handed out, wouldSCE_APP_CONTENT_ERROR_NOT_MOUNTED(0x80D90004) describe that case better thanNOT_FOUND(0x80D90005)?NOT_FOUNDreads as "no such content", while the unmount argument is a mount point that was never mounted. If you have a source forNOT_FOUNDon unmount, a note in the TechnicalDebt line would settle it; otherwise the unmount return code is an assumption worth recording there too.