mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-06-14 14:43:15 +00:00
SaveData: respect install dir in param.sfo to select the game save folder (#2951)
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
Some checks failed
Build and Release / reuse (push) Has been cancelled
Build and Release / clang-format (push) Has been cancelled
Build and Release / get-info (push) Has been cancelled
Build and Release / windows-sdl (push) Has been cancelled
Build and Release / windows-qt (push) Has been cancelled
Build and Release / macos-sdl (push) Has been cancelled
Build and Release / macos-qt (push) Has been cancelled
Build and Release / linux-sdl (push) Has been cancelled
Build and Release / linux-qt (push) Has been cancelled
Build and Release / linux-sdl-gcc (push) Has been cancelled
Build and Release / linux-qt-gcc (push) Has been cancelled
Build and Release / pre-release (push) Has been cancelled
This commit is contained in:
parent
6ee205d4e2
commit
5eb58799fe
1 changed files with 3 additions and 1 deletions
|
@ -316,7 +316,9 @@ static std::array<std::optional<SaveInstance>, 16> g_mount_slots;
|
||||||
|
|
||||||
static void initialize() {
|
static void initialize() {
|
||||||
g_initialized = true;
|
g_initialized = true;
|
||||||
g_game_serial = ElfInfo::Instance().GameSerial();
|
g_game_serial = Common::Singleton<PSF>::Instance()
|
||||||
|
->GetString("INSTALL_DIR_SAVEDATA")
|
||||||
|
.value_or(ElfInfo::Instance().GameSerial());
|
||||||
g_fw_ver = ElfInfo::Instance().FirmwareVer();
|
g_fw_ver = ElfInfo::Instance().FirmwareVer();
|
||||||
Backup::StartThread();
|
Backup::StartThread();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue