mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #3462] [MERGED] Libraries: libSceVrTracker stubs #3489
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#3489
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/3462
Author: @StevenMiller123
Created: 8/26/2025
Status: ✅ Merged
Merged: 8/27/2025
Merged by: @squidbus
Base:
main← Head:vrtracker-stubs📝 Commits (10+)
1c05184libSceVrTracker stubs, structs, enums, and errorsc75d2e5sceVrTrackerQueryMemory145c204Clang and slight struct cleanupb8c4b1aMerge branch 'main' into vrtracker-stubsbe49229Implement sceVrTrackerInitcae382bStore memory pointers and sizes227605csceVrTrackerRegisterDevice95a643bsceVrTrackerUnregisterDeviceb3c8ee6sceVrTrackerTerm174c507Additional error checks in sceVrTrackerRegisterDeviceInternal📊 Changes
9 files changed (+1087 additions, -4 deletions)
View changed files
📝
CMakeLists.txt(+2 -0)📝
src/common/logging/filter.cpp(+1 -0)📝
src/common/logging/types.h(+1 -0)📝
src/core/libraries/hmd/hmd.cpp(+3 -2)📝
src/core/libraries/libs.cpp(+2 -0)📝
src/core/libraries/move/move.cpp(+3 -2)➕
src/core/libraries/vr_tracker/vr_tracker.cpp(+632 -0)➕
src/core/libraries/vr_tracker/vr_tracker.h(+407 -0)➕
src/core/libraries/vr_tracker/vr_tracker_error.h(+36 -0)📄 Description
This PR introduces stubs for libSceVrTracker, working under the same assumptions as my other VR-related library stubs (no PSVR headset attached, no PS Camera attached, and no PS Move attached).
This should improve any games that crash after calling
sceVrTrackerGpuSubmitorsceVrTrackerQueryMemory, both functions were likely to cause issues before.This fixes random crashing in The Last Guardian VR DEMO (CUSA10479), now the title boots and plays garbled audio (seems like an Audio3d issue) while spamming sceHmdSetupDialog stubs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.