mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-04-27 00:36:00 +03:00
[PR #3994] [MERGED] filesystem: fill in timespec values for fstat #3853
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#3853
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/3994
Author: @kalaposfos13
Created: 2/5/2026
Status: ✅ Merged
Merged: 2/5/2026
Merged by: @georgemoralis
Base:
main← Head:timespec📝 Commits (3)
c077c16filesystem: fill in timespec values for fstat0ed28b7w*ndows96a38adfix windows and mac📊 Changes
1 file changed (+25 additions, -0 deletions)
View changed files
📝
src/core/libraries/kernel/file_system.cpp(+25 -0)📄 Description
Tearaway Unfolded has a check for whether the save files' last modification fall into a specific timespan, and if they aren't, then the save gets flagged as corrupt. By leaving these fields as zero, that check fails. By providing the correct values, this save "corruption" issue is resolved, although this doesn't help much for the fact that the game is still hanging at the end of loading.
On the Windows side, all three values (creation, modification and access) are spoofed with the last modification date, because that's the only one that std::filesystem has a cross-platform implementation for.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.