mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-26 04:16:18 +00:00
savedata: Fix missing uses of config based save data dir. (#2971)
This commit is contained in:
parent
786ad6f71e
commit
6935b24440
5 changed files with 7 additions and 12 deletions
|
@ -8,6 +8,7 @@
|
|||
#include <magic_enum/magic_enum.hpp>
|
||||
|
||||
#include "common/assert.h"
|
||||
#include "common/config.h"
|
||||
#include "common/cstring.h"
|
||||
#include "common/elf_info.h"
|
||||
#include "common/enum.h"
|
||||
|
@ -438,7 +439,7 @@ static Error saveDataMount(const OrbisSaveDataMount2* mount_info,
|
|||
LOG_INFO(Lib_SaveData, "called with invalid block size");
|
||||
}
|
||||
|
||||
const auto root_save = Common::FS::GetUserPath(Common::FS::PathType::SaveDataDir);
|
||||
const auto root_save = Config::GetSaveDataPath();
|
||||
fs::create_directories(root_save);
|
||||
const auto available = fs::space(root_save).available;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue