[PR #1610] [MERGED] Fix GetDents truncating the last character of filenames #2196

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

📋 Pull Request Information

Original PR: https://github.com/shadps4-emu/shadPS4/pull/1610
Author: @mikusp
Created: 11/28/2024
Status: Merged
Merged: 11/28/2024
Merged by: @georgemoralis

Base: mainHead: fix_getdents_filenames


📝 Commits (1)

  • ebf4d94 Fix GetDents truncating the last character of filenames

📊 Changes

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

View changed files

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

📄 Description

GetDents returned invalid filename length, causing Death Stranding CUSA12607 to fail on calls accessing "area00.bi" instead of correct "area00.bin". This fixes the issue


🔄 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/1610 **Author:** [@mikusp](https://github.com/mikusp) **Created:** 11/28/2024 **Status:** ✅ Merged **Merged:** 11/28/2024 **Merged by:** [@georgemoralis](https://github.com/georgemoralis) **Base:** `main` ← **Head:** `fix_getdents_filenames` --- ### 📝 Commits (1) - [`ebf4d94`](https://github.com/shadps4-emu/shadPS4/commit/ebf4d9464ed9599dbf6c5f567fa1797d6171963a) Fix GetDents truncating the last character of filenames ### 📊 Changes **1 file changed** (+1 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `src/core/libraries/kernel/file_system.cpp` (+1 -2) </details> ### 📄 Description GetDents returned invalid filename length, causing Death Stranding CUSA12607 to fail on calls accessing "area00.bi" instead of correct "area00.bin". This fixes the issue --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 21:15:33 +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#2196
No description provided.