mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Implement fs::sync (Linux/POSIX)
This commit is contained in:
parent
014846cf31
commit
090a769bf6
3 changed files with 14 additions and 0 deletions
|
|
@ -1929,6 +1929,7 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
|||
|
||||
// Remove old backup
|
||||
fs::remove_all(old_path);
|
||||
fs::sync();
|
||||
|
||||
// Backup old savedata
|
||||
if (!vfs::host::rename(dir_path, old_path, &g_mp_sys_dev_hdd0, false))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue