[PR #2041] [MERGED] file_sys: Consolidate separate update directory handling. #2458

Closed
opened 2026-02-27 21:16:35 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2041
Author: @squidbus
Created: 1/4/2025
Status: Merged
Merged: 1/8/2025
Merged by: @georgemoralis

Base: mainHead: sep-upd-fixups


📝 Commits (1)

  • 3c43f71 file_sys: Consolidate separate update directory handling.

📊 Changes

5 files changed (+61 additions, -107 deletions)

View changed files

📝 src/core/file_sys/fs.cpp (+40 -4)
📝 src/core/file_sys/fs.h (+5 -1)
📝 src/core/libraries/kernel/file_system.cpp (+8 -68)
📝 src/emulator.cpp (+7 -33)
📝 src/emulator.h (+1 -1)

📄 Description

  • Adds a utility for iterating contents of a guest directory, applying contents from separate update path as needed.
  • Use this utility for guest dirents and loading from sce_module, eliminating the need to special-case separate update directory by just going through the mount point system.

In the future we could use this to handle injecting mount point directories into the entries list as well, if there are mount points within other mount points. For now it does not handle this case.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/shadps4-emu/shadPS4/pull/2041 **Author:** [@squidbus](https://github.com/squidbus) **Created:** 1/4/2025 **Status:** ✅ Merged **Merged:** 1/8/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `sep-upd-fixups` --- ### 📝 Commits (1) - [`3c43f71`](https://github.com/shadps4-emu/shadPS4/commit/3c43f71b21ad2afcc1f2ed3a780e9ab44fd3c2e7) file_sys: Consolidate separate update directory handling. ### 📊 Changes **5 files changed** (+61 additions, -107 deletions) <details> <summary>View changed files</summary> 📝 `src/core/file_sys/fs.cpp` (+40 -4) 📝 `src/core/file_sys/fs.h` (+5 -1) 📝 `src/core/libraries/kernel/file_system.cpp` (+8 -68) 📝 `src/emulator.cpp` (+7 -33) 📝 `src/emulator.h` (+1 -1) </details> ### 📄 Description * Adds a utility for iterating contents of a guest directory, applying contents from separate update path as needed. * Use this utility for guest dirents and loading from `sce_module`, eliminating the need to special-case separate update directory by just going through the mount point system. In the future we could use this to handle injecting mount point directories into the entries list as well, if there are mount points within other mount points. For now it does not handle this case. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:16:35 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shadPS4#2458
No description provided.