mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 11:36:13 +00:00
cellSaveData: do not fail on empty directory
This commit is contained in:
parent
2b853cc8bc
commit
556aba46b5
1 changed files with 1 additions and 3 deletions
|
@ -1303,10 +1303,8 @@ static NEVER_INLINE error_code savedata_op(ppu_thread& ppu, u32 operation, u32 v
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
// Create save directory if necessary
|
||||
if (!psf.empty() && save_entry.isNew && !fs::create_dir(dir_path))
|
||||
if (!psf.empty() && save_entry.isNew && !fs::create_dir(dir_path) && fs::g_tls_error != fs::error::exist)
|
||||
{
|
||||
cellSaveData.warning("savedata_op(): failed to create %s (%s)", dir_path, fs::g_tls_error);
|
||||
return CELL_SAVEDATA_ERROR_ACCESS_ERROR;
|
||||
|
|
Loading…
Add table
Reference in a new issue