[PR #2874] [MERGED] Only perform early read-write open when truncating is needed #3046

Closed
opened 2026-02-27 22:02:14 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/2874
Author: @StevenMiller123
Created: 5/2/2025
Status: Merged
Merged: 5/2/2025
Merged by: @squidbus

Base: mainHead: fs-hotfix


📝 Commits (1)

  • b9b1a13 Only perform early read-write open when truncating is needed

📊 Changes

1 file changed (+8 additions, -7 deletions)

View changed files

📝 src/core/libraries/kernel/file_system.cpp (+8 -7)

📄 Description

Should stop some error spam when games open files from /app0, as this open call would fail since /app0 is mounted as read-only


🔄 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/2874 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 5/2/2025 **Status:** ✅ Merged **Merged:** 5/2/2025 **Merged by:** [@squidbus](https://github.com/squidbus) **Base:** `main` ← **Head:** `fs-hotfix` --- ### 📝 Commits (1) - [`b9b1a13`](https://github.com/shadps4-emu/shadPS4/commit/b9b1a13664b26f988e60b5cacb390d42269386b1) Only perform early read-write open when truncating is needed ### 📊 Changes **1 file changed** (+8 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/file_system.cpp` (+8 -7) </details> ### 📄 Description Should stop some error spam when games open files from `/app0`, as this open call would fail since `/app0` is mounted as read-only --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:02:14 +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#3046
No description provided.