mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-26 16:25:58 +03:00
[PR #3876] [MERGED] Dirents backport #3775
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#3775
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/3876
Author: @marecl
Created: 12/24/2025
Status: ✅ Merged
Merged: 1/9/2026
Merged by: @georgemoralis
Base:
main← Head:main📝 Commits (7)
3dcb305lseek for directories behaves correctly when final index is smaller than 0 (EINVAL)963e723Merge branch 'main' into maince74cb3PFS moves pointer to end when last dirent is returnedef92042Merge branch 'main' of https://github.com/marecl/shadPS4ee84d83Correct entry type in PFS directory13cf199Merge remote-tracking branch 'upstream/main'6c13e5dMerge branch 'main' into main📊 Changes
6 files changed (+264 additions, -291 deletions)
View changed files
📝
src/core/file_sys/directories/base_directory.cpp(+32 -0)📝
src/core/file_sys/directories/base_directory.h(+14 -10)📝
src/core/file_sys/directories/normal_directory.cpp(+120 -101)📝
src/core/file_sys/directories/normal_directory.h(+7 -11)📝
src/core/file_sys/directories/pfs_directory.cpp(+85 -159)📝
src/core/file_sys/directories/pfs_directory.h(+6 -10)📄 Description
Backported dirents from QFS PR:
Corrected LSeek behaviour on negative OOB offset (EINVAL)
Tested with Enderman and Therapist from integration tests:
Enderman_01.00__0.13.0.log
Enderman_01.00__backport.log
Enderman_01.00__OFW11.52.log
Therapist_01.30__0.13.0.log
Therapist_01.30_backport.log
Therapist_01.30__OFW11.52.log
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.