feat(libSceCamera): report that no camera is attached #8111
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/8111"
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 savvaniss on 2026-10-19T22:06:10Z.
What
mainhas nolibSceCamera. A PS4 title that imports the camera functions does not load, and Monopoly Plus from CUSA03312 (Hasbro Family Fun Pack) askssceCameraIsAttachedat startup.This adds the library with the camera answer the host can give: no camera is ever attached.
sceCameraIsAttached(0)returns 0 (not attached). Any other index returnsSCE_CAMERA_ERROR_PARAM(0x802E0000), as shadPS4 does when no camera is configured.sceCameraOpen,Close,Start,Stop,GetConfig,SetConfig,SetAttribute,GetDeviceInfo,GetFrameDataandIsValidFrameData. What the console returns from them with no camera attached is not known, and a title that checkssceCameraIsAttachedfirst does not reach them.docs/dev/debt/libSceCamera.mdrecords both.#7416 also creates
libSceCamera/Export.cppand the debt file, with the PS5sceCamera2*functions. No export is shared. Whichever lands second adds its functions to the file.Tested
Windows 11 Pro 26300, WinLibs GCC 15.2.0, Release.
guest_camera(new) checks indexes 0, 1 and -1, and that each declared function throws<name> not implemented. It passes.sceCameraIsAttachedon an RX 9070 XT. It gets past its camera check and goes on starting up; it calls none of the declared functions.tools/check_conventions.py --base origin/mainpasses.tools/pr_overlap.pylists #7416 as above.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-19T22:06:54Z.
Progress report (
a30f58a→b236ea5)📉 System libraries: 79.68% (-0.15%, +1 implemented, +10 declared functions)
✅ 1 implemented
sceCameraIsAttached🆕 10 declared as stubs
sceCameraClosesceCameraGetConfigsceCameraGetDeviceInfosceCameraGetFrameDatasceCameraIsValidFrameDatasceCameraOpensceCameraSetAttributesceCameraSetConfigsceCameraStartsceCameraStopImported from boykopovar/AnyPS5. Originally posted by MarcZX10 on 2026-10-21T23:58:45Z.
Review: APPROVED
Reviewed the complete diff and its linked title context.
sceCameraIsAttached(0)returns the reported no-camera result, invalid indices returnSCE_CAMERA_ERROR_PARAM, and the remaining ten declared exports throw instead of returning invented success values. The new guest test covers all of those cases. The linked CUSA03312 discussion confirms the camera check is on the title's startup path, so this is a generic missing-library/import fix with a concrete bring-up link.The PR declares
Unblocks: CUSA03312 #7198, has complete template fields, and current eligibility, intake, conventions, labels, and report checks pass. The current overlap scan reports no overlapping open PRs; the earlier #7416 PR has merged and its current diff no longer adds this library. Windows focused tests/title progress are author-reported. Hosted product jobs are skipped under repository policy; I did not run a local build.