mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-26 23:10:38 +00:00
Merge pull request #10001 from LunaMoo/SavedataUpgrade
Add ini-only "Savedata Upgrade" setting.
This commit is contained in:
commit
bb1f651182
@ -754,6 +754,7 @@ static ConfigSetting systemParamSettings[] = {
|
||||
#endif
|
||||
ConfigSetting("WlanPowerSave", &g_Config.bWlanPowerSave, (bool) PSP_SYSTEMPARAM_WLAN_POWERSAVE_OFF, true, true),
|
||||
ReportedConfigSetting("EncryptSave", &g_Config.bEncryptSave, true, true, true),
|
||||
ConfigSetting("SavedataUpgrade", &g_Config.bSavedataUpgrade, false, true, false),
|
||||
|
||||
ConfigSetting(false),
|
||||
};
|
||||
|
@ -420,6 +420,7 @@ public:
|
||||
int iButtonPreference;
|
||||
int iLockParentalLevel;
|
||||
bool bEncryptSave;
|
||||
bool bSavedataUpgrade;
|
||||
|
||||
// Networking
|
||||
bool bEnableWlan;
|
||||
|
@ -647,6 +647,12 @@ void SavedataParam::LoadCryptedSave(SceUtilitySavedataParam *param, u8 *data, u8
|
||||
} else {
|
||||
WARN_LOG_REPORT(SCEUTILITY, "Savedata loading with detected hashmode %d instead of file's %d", decryptMode, prevCryptMode);
|
||||
}
|
||||
if (g_Config.bSavedataUpgrade) {
|
||||
decryptMode = prevCryptMode;
|
||||
I18NCategory *di = GetI18NCategory("Dialog");
|
||||
host->NotifyUserMessage(di->T("When you save, it will not work on outdated PSP Firmware anymore"), 6.0f);
|
||||
host->NotifyUserMessage(di->T("Old savedata detected"), 6.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user