1
0
mirror of https://github.com/RPCS3/rpcs3.git synced 2024-11-25 20:22:30 +01:00

cellSaveData: workaround possible issues with symlinks

Don't use ../ location for temporary directories
This commit is contained in:
Nekotekina 2018-12-24 18:50:04 +03:00
parent bd9131ae1c
commit 453344c232

View File

@ -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 old_path = base_dir + "../.backup_" + save_entry.dirName + "/";
const std::string new_path = base_dir + "../.working_" + 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 + "/";
psf::registry psf = psf::load_object(fs::file(dir_path + "PARAM.SFO"));
bool has_modified = false;