mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-08-06 08:10:14 +00:00
cellSaveData: workaround possible issues with symlinks
Don't use ../ location for temporary directories
This commit is contained in:
parent
bd9131ae1c
commit
453344c232
1 changed files with 2 additions and 2 deletions
|
@ -468,8 +468,8 @@ static NEVER_INLINE s32 savedata_op(ppu_thread& ppu, u32 operation, u32 version,
|
||||||
}
|
}
|
||||||
|
|
||||||
const std::string dir_path = base_dir + save_entry.dirName + "/";
|
const std::string dir_path = base_dir + save_entry.dirName + "/";
|
||||||
const std::string old_path = base_dir + "../.backup_" + save_entry.dirName + "/";
|
const std::string old_path = base_dir + ".backup_" + save_entry.dirName + "/";
|
||||||
const std::string new_path = base_dir + "../.working_" + save_entry.dirName + "/";
|
const std::string new_path = base_dir + ".working_" + save_entry.dirName + "/";
|
||||||
|
|
||||||
psf::registry psf = psf::load_object(fs::file(dir_path + "PARAM.SFO"));
|
psf::registry psf = psf::load_object(fs::file(dir_path + "PARAM.SFO"));
|
||||||
bool has_modified = false;
|
bool has_modified = false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue