mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-22 02:39:05 +02:00
sceReg: Let a key read a bool setting, use it for VSH UMD autoboot
KeyValue gets an optional pointer to a g_Config bool, which the key reads as 0/1. The setting wins over guest writes: since category_version is kept low, the VSH upgrades the registry at every boot and rewrites every key with its default. /CONFIG/SYSTEM/umd_autoboot reads the new SystemParam VshUmdAutoboot (default true, as before). Turned off, --vsh --mount stays in the XMB with the disc in the Game column instead of starting it. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
3a5c5a51c5
commit
2d116a5b76
3 files changed
+14
-1
No files matched your search
@@ -1121,6 +1121,7 @@ static const ConfigSetting systemParamSettings[] = {
|
||||
ConfigSetting("BypassOSKWithKeyboard", SETTING(g_Config, bBypassOSKWithKeyboard), false, CfgFlag::PER_GAME),
|
||||
ConfigSetting("WlanPowerSave", SETTING(g_Config, bWlanPowerSave), (bool) PSP_SYSTEMPARAM_WLAN_POWERSAVE_OFF, CfgFlag::PER_GAME),
|
||||
ConfigSetting("EncryptSave", SETTING(g_Config, bEncryptSave), true, CfgFlag::PER_GAME | CfgFlag::REPORT),
|
||||
ConfigSetting("VshUmdAutoboot", SETTING(g_Config, bVshUmdAutoboot), true, CfgFlag::DEFAULT),
|
||||
ConfigSetting("MemStickSize", SETTING(g_Config, iMemStickSizeGB), 16, CfgFlag::DEFAULT),
|
||||
ConfigSetting("FuseID", SETTING(g_Config, sFuseID), "", CfgFlag::DEFAULT),
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user