mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-25 07:46:01 +03:00
[PR #3368] [CLOSED] [Draft] Use native file handlers #3417
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#3417
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/3368
Author: @marecl
Created: 8/2/2025
Status: ❌ Closed
Base:
main← Head:posixiofile📝 Commits (10+)
3b66a58Moved file handling to native calls:5e7070bDisambiguation, moving parameter resolving to target OS source96e6dc2how did these get here9a47cb2errno (and Windows equivalent) propagationd866877clangf2d87ceMerge branch 'main' of https://github.com/shadps4-emu/shadPS4 into posixiofilef6d9870Moved file handling to native calls:7a32904Disambiguation, moving parameter resolving to target OS source524447bhow did these get heref0e21d2errno (and Windows equivalent) propagation📊 Changes
45 files changed (+1555 additions, -706 deletions)
View changed files
📝
CMakeLists.txt(+13 -1)📝
src/common/config.cpp(+10 -6)📝
src/common/io_file.cpp(+139 -310)📝
src/common/io_file.h(+113 -91)📝
src/common/logging/backend.cpp(+2 -2)➕
src/common/native_fs.cpp(+87 -0)➕
src/common/native_fs.h(+80 -0)➕
src/common/native_fs_posix.cpp(+332 -0)➕
src/common/native_fs_win32.cpp(+99 -0)📝
src/common/path_util.cpp(+8 -5)📝
src/core/devtools/widget/common.h(+5 -1)📝
src/core/devtools/widget/module_list.h(+7 -3)📝
src/core/devtools/widget/shader_list.cpp(+2 -1)📝
src/core/file_format/psf.cpp(+2 -1)📝
src/core/file_format/trp.cpp(+6 -3)📝
src/core/file_sys/fs.cpp(+12 -9)📝
src/core/libraries/app_content/app_content.cpp(+2 -1)📝
src/core/libraries/kernel/file_system.cpp(+90 -105)📝
src/core/libraries/kernel/kernel.cpp(+363 -42)📝
src/core/libraries/np_trophy/trophy_ui.cpp(+11 -7)...and 25 more files
📄 Description
This PR changes how IOFile is handled on OS-level.
Improves compatibility and granularity with Orbis file-related kernel calls.
Existing (in-app call) behaviour and usage is not affected (I think).
Currently implemented for UNIX (POSIX calls).
Windows implementation pending.
Further tests are needed to confirm correct operation.
Subject to changes.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.