mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 15:56:00 +03:00
[PR #3546] [MERGED] Libraries: Implement sceKernelIsInSandbox, update OrbisSysModule enum #3560
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#3560
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/3546
Author: @StevenMiller123
Created: 9/7/2025
Status: ✅ Merged
Merged: 9/7/2025
Merged by: @squidbus
Base:
main← Head:module-fixes📝 Commits (4)
ddd4d12Implement sceKernelIsInSandbox5c7f7aaMerge branch 'main' into module-fixes75e060fUpdate OrbisSysModule enume1d5fb5Clang📊 Changes
4 files changed (+109 additions, -84 deletions)
View changed files
📝
src/core/libraries/kernel/process.cpp(+11 -6)📝
src/core/libraries/kernel/process.h(+4 -4)📝
src/core/libraries/system/sysmodule.cpp(+1 -1)📝
src/core/libraries/system/sysmodule.h(+93 -73)📄 Description
sceKernelIsInSandbox will always return the s32 value for true, since games are sandboxed. This fixes some internal behaviors of libSceSysmodule when attempting to run it LLE, since it uses this function to decide between hardcoding
systemor using sceKernelGetFsSandboxRandomWord to get the system folder.I've also done some tests on libSceSysmodule to determine several missing or inaccurate module IDs, and corrected the enum appropriately. This will reduce how often we see blank IDs logged when games call sceSysmoduleLoadModule.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.