mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
cellSaveData: fix 'Already exists' error
This commit is contained in:
parent
d98420fbc3
commit
d6afba96f1
1 changed files with 1 additions and 1 deletions
|
@ -871,7 +871,7 @@ static NEVER_INLINE s32 savedata_op(ppu_thread& ppu, u32 operation, u32 version,
|
||||||
if (!psf.empty() && has_modified)
|
if (!psf.empty() && has_modified)
|
||||||
{
|
{
|
||||||
// First, create temporary directory
|
// First, create temporary directory
|
||||||
if (fs::create_dir(new_path))
|
if (fs::create_path(new_path))
|
||||||
{
|
{
|
||||||
fs::remove_all(new_path, false);
|
fs::remove_all(new_path, false);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue