Files
shadPS4/src/common
Stephen Miller 213ca72fa1 Filesystem: Fixes for posix_rename and write (#3099)
* Fix rename

We shouldn't be leaving a copy of the original filename laying around.
This fixes one of a few broken savedata checks in DRAGON BALL XENOVERSE (CUSA01341)

* sceKernelWrite hack

Seems like std::fwrite has some weird edge cases we aren't handling properly.
Until we get to the bottom of this issue, here's a hack that bypasses it.
This fixes saves in DRAGON BALL XENOVERSE (CUSA01341)

* hack fix

* Improved "hack"

* Fix rename for Windows users

Turns out, we're using copy instead of rename for a reason, and that same reason came up when adding the remove call.
Also adds a log for the sceKernelWrite issue, since that's definitely a hack that needs to be debugged.

* A real fix for the sceKernelWrite issue

Turns out, some data was just buffered.
Running Flush fixes that problem.

* Move fflush call to WriteRaw

To prevent future cases of this issue.
2025-06-15 22:43:39 +03:00
..
2025-06-01 19:30:03 +03:00
2024-10-16 13:12:46 +03:00
2025-05-24 09:15:10 -03:00
2024-03-01 00:00:35 +02:00
2024-06-10 02:13:44 +03:00
2024-09-08 23:27:50 +03:00
2025-04-30 22:56:44 +03:00
2025-02-18 15:55:13 +02:00
2025-06-02 19:02:37 +03:00
2025-06-02 19:02:37 +03:00
2024-09-23 19:19:52 +03:00
2024-09-23 19:19:52 +03:00
2024-11-05 09:16:57 +02:00
2024-12-05 23:10:27 +02:00
2024-12-05 23:10:27 +02:00