cellSaveData: try to address #5415

This commit is contained in:
Nekotekina 2018-12-18 19:43:13 +03:00
parent 522f5ea645
commit f750b4c420
1 changed files with 1 additions and 1 deletions

View File

@ -871,7 +871,7 @@ static NEVER_INLINE s32 savedata_op(ppu_thread& ppu, u32 operation, u32 version,
if (!psf.empty() && has_modified)
{
// First, create temporary directory
if (fs::create_path(new_path))
if (fs::create_dir(new_path) || fs::g_tls_error == fs::error::exist)
{
fs::remove_all(new_path, false);
}