mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 08:15:59 +03:00
[PR #1622] [MERGED] sysmodule: Remove need for libSceRazorCpu #2205
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#2205
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/1622
Author: @squidbus
Created: 11/30/2024
Status: ✅ Merged
Merged: 11/30/2024
Merged by: @georgemoralis
Base:
main← Head:razorcpu📝 Commits (1)
ff70b05sysmodule: Remove need for libSceRazorCpu📊 Changes
5 files changed (+33 additions, -8 deletions)
View changed files
📝
CMakeLists.txt(+1 -0)📝
src/core/libraries/system/sysmodule.cpp(+18 -5)📝
src/core/libraries/system/sysmodule.h(+5 -1)➕
src/core/libraries/system/system_error.h(+8 -0)📝
src/emulator.cpp(+1 -2)📄 Description
Uses of
libSceRazorCpu, the primary current one being inlibSceFiber, are gated behind checks that the sysmodule is loaded. Since it is only used for internal debugging and not useful to us as LLE, we can reduce the number of libraries that we need to load by always returning it as unloaded when queried.Since I was modifying the sysmodule query functions, I also added the validity check for the sysmodule ID and related error codes.
Tested in CUSA17416 (Persona 5 Royal) and CUSA01130 (Gravity Rush: Remastered).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.