vitasdk
Documentation of the vitasdk
update.h
Go to the documentation of this file.
1 
6 #ifndef _PSP2_UPDATE_H_
7 #define _PSP2_UPDATE_H_
8 
9 #include <vitasdk/build_utils.h>
10 #include <psp2/types.h>
11 
12 typedef char SceUpdateMode;
14 
15 #define SCE_UPDATE_MODE_SWU_GUI 0x10
16 #define SCE_UPDATE_MODE_SWU_CUI 0x30
17 
26 
27 #define sceSblSsUpdateMgrGetBootMode sceSblUsGetUpdateMode
28 
37 
38 #define sceSblSsUpdateMgrSetBootMode sceSblUsSetUpdateMode
39 
49 int sceSblUsVerifyPup(const char *path);
50 
51 #endif /* _PSP2_UPDATE_H_ */
int sceSblUsVerifyPup(const char *path)
Verify PUP.
char SceUpdateMode
Definition: update.h:12
int sceSblUsGetUpdateMode(SceUpdateMode *mode)
Getting system update mode on boot.
int sceSblUsSetUpdateMode(SceUpdateMode mode)
Setting system update mode on boot.
VITASDK_BUILD_ASSERT_EQ(1, SceUpdateMode)