SaveData: respect install dir in param.sfo to select the game save folder (#2951)

This commit is contained in:
Vinicius Rangel 2025-05-17 12:00:35 -03:00 committed by GitHub
parent 6ee205d4e2
commit 5eb58799fe
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -316,7 +316,9 @@ static std::array<std::optional<SaveInstance>, 16> g_mount_slots;
static void initialize() {
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();
Backup::StartThread();
}