diff options
author | Princess of Sleeping | 2020-10-30 22:11:40 +0900 |
---|---|---|
committer | Reiko Asakura | 2020-10-30 22:11:40 +0900 |
commit | aab77d28bb20fede004b4d11574fa6e85cd28b6d (patch) | |
tree | c9eebb9e5f6f661ecfb4befea771ca1cb22efec8 /include | |
parent | Add NIDs in SceDisplayForDriver (diff) | |
download | vds-libraries-aab77d28bb20fede004b4d11574fa6e85cd28b6d.tar.gz |
Add functions in SceSblSsUpdateMgr
Diffstat (limited to 'include')
-rw-r--r-- | include/user/sblupdatemgr.h | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/include/user/sblupdatemgr.h b/include/user/sblupdatemgr.h new file mode 100644 index 0000000..d936565 --- /dev/null +++ b/include/user/sblupdatemgr.h @@ -0,0 +1,42 @@ +/* + Vita Development Suite Libraries +*/ + +#ifndef _VDSUITE_USER_SBLUPDATEMGR_H +#define _VDSUITE_USER_SBLUPDATEMGR_H + +typedef char SceUpdateMode; + +#define SCE_UPDATE_MODE_SWU_GUI 0x10 +#define SCE_UPDATE_MODE_SWU_CUI 0x30 + +/** + * Getting system update mode on boot + * + * @param[out] mode - The pointer of SceUpdateMode variable + * + * @return 0 on success, < 0 on error. + */ +int sceSblUsGetUpdateModeForUser(SceUpdateMode *mode); + +/** + * Setting system update mode on boot + * + * @param[in] mode - The update mode + * + * @return 0 on success, < 0 on error. + */ +int sceSblUsSetUpdateModeForUser(SceUpdateMode mode); + +/** + * Verify PUP + * + * @param[in] path - The PUP path + * + * @return 0 on success, < 0 on error. + * + * note - If verify CEX PUP on Devkit system, got error. + */ +int sceSblUsVerifyPupForUser(const char *path); + +#endif /* _VDSUITE_USER_SBLUPDATEMGR_H */ |