mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #3434] [MERGED] Libraries: Better libSceCamera stubs #3464
Labels
No labels
Bloodborne
bug
contributor wanted
documentation
enhancement
frontend
good first issue
help wanted
linux
pull-request
question
release
verification progress
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/shadPS4#3464
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
📋 Pull Request Information
Original PR: https://github.com/shadps4-emu/shadPS4/pull/3434
Author: @StevenMiller123
Created: 8/19/2025
Status: ✅ Merged
Merged: 8/20/2025
Merged by: @squidbus
Base:
main← Head:camera-stubs📝 Commits (9)
7117729Initial work on improved stubsc188db9Get* functions complete9b9092cFinished stubs78b2744Merge branch 'shadps4-emu:main' into camera-stubs444d9c9sceCameraStart firmware check97bb2d0sceCameraGetAutoExposureGain fix5b87271Track opened handles279b8a2Fix errors for sceCameraStart2de32e7Promote sceCameraIsAttached log to info📊 Changes
2 files changed (+733 additions, -204 deletions)
View changed files
📝
src/core/libraries/camera/camera.cpp(+640 -145)📝
src/core/libraries/camera/camera.h(+93 -59)📄 Description
Like my previous PR did for libSceMove, this PR stubs most of libSceCamera to match real hardware behaviors for when a camera is not attached.
I wasn't able to fill everything in, but most of what's left are internal functions used by other libraries (in most cases, likely used by libSceVrTracker).
This PR might help games that spam
sceCamerastubs on current shadPS4 builds.I did leave out a handful of parameter checks real hardware does in
sceCameraSetConfig, though since the function fails no matter what you input, this shouldn't affect much.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.