mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-05 00:42:48 +00:00
get default save data path from fs
This commit is contained in:
parent
35b3d7c90c
commit
35b4cc149f
@ -113,7 +113,7 @@ bool GetLoadGameSizeEnabled() {
|
|||||||
|
|
||||||
std::filesystem::path GetSaveDataPath() {
|
std::filesystem::path GetSaveDataPath() {
|
||||||
if (save_data_path.empty()) {
|
if (save_data_path.empty()) {
|
||||||
return Common::FS::GetUserPath(Common::FS::PathType::UserDir) / "savedata";
|
return Common::FS::GetUserPath(Common::FS::PathType::SaveDataDir);
|
||||||
}
|
}
|
||||||
return save_data_path;
|
return save_data_path;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user