[PR #3388] [MERGED] Filesystem: Fix error behavior for close calls on std handles #3433

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/3388
Author: @StevenMiller123
Created: 8/5/2025
Status: Merged
Merged: 8/5/2025
Merged by: @georgemoralis

Base: mainHead: close-error-fix


📝 Commits (1)

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

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

📄 Description

On real hardware, these calls return EPERM. This reverts an incorrect change I made back in #2554.

Thanks to @red-prig for bringing this to my attention.


🔄 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/3388 **Author:** [@StevenMiller123](https://github.com/StevenMiller123) **Created:** 8/5/2025 **Status:** ✅ Merged **Merged:** 8/5/2025 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `close-error-fix` --- ### 📝 Commits (1) - [`e524c40`](https://github.com/shadps4-emu/shadPS4/commit/e524c405a643070470bc35c1c3b1c5238d1dd35a) Update file_system.cpp ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/file_system.cpp` (+2 -2) </details> ### 📄 Description On real hardware, these calls return EPERM. This reverts an incorrect change I made back in #2554. Thanks to @red-prig for bringing this to my attention. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 22:03:41 +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#3433
No description provided.