diff --git a/rpcs3/Emu/Cell/Modules/cellGame.cpp b/rpcs3/Emu/Cell/Modules/cellGame.cpp index 40b11d3387..a679c910e3 100644 --- a/rpcs3/Emu/Cell/Modules/cellGame.cpp +++ b/rpcs3/Emu/Cell/Modules/cellGame.cpp @@ -83,8 +83,8 @@ void fmt_class_string::format(std::string& out, u64 arg) // contentInfo = "/dev_bdvd/PS3_GAME" // usrdir = "/dev_bdvd/PS3_GAME/USRDIR" // Temporary content directory (dir is not empty): -// contentInfo = "/dev_hdd1/game/" + dir -// usrdir = "/dev_hdd1/game/" + dir + "/USRDIR" +// contentInfo = "/dev_hdd0/game/_GDATA_" + time_since_epoch +// usrdir = "/dev_hdd0/game/_GDATA_" + time_since_epoch + "/USRDIR" // Normal content directory (dir is not empty): // contentInfo = "/dev_hdd0/game/" + dir // usrdir = "/dev_hdd0/game/" + dir + "/USRDIR" @@ -119,7 +119,7 @@ struct content_permission final } catch (...) { - cellGame.fatal("Failed to clean directory '/dev_hdd1/game/%s'", dir); + cellGame.fatal("Failed to clean directory '%s'", temp); catch_all_exceptions(); } } @@ -581,8 +581,9 @@ error_code cellGameCreateGameData(vm::ptr init, vm::ptrdir; - std::string tmp_usrdir = "/dev_hdd1/game/" + prm->dir + "/USRDIR"; + std::string dirname = "_GDATA_" + std::to_string(steady_clock::now().time_since_epoch().count()); + std::string tmp_contentInfo = "/dev_hdd0/game/" + dirname; + std::string tmp_usrdir = "/dev_hdd0/game/" + dirname + "/USRDIR"; if (!fs::create_dir(vfs::get(tmp_contentInfo))) {