summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunguk Lee2019-02-09 20:26:10 +0900
committerGitHub2019-02-09 20:26:10 +0900
commit28ef6a3d989e1be1973362dff18ce1d7179f69e7 (patch)
treef5c89d72a73469f685aaef891e2860b913c2e031
parentMerge pull request #390 from vitasdk/import-nids (diff)
parentAdd SCE_SYSMODULE_GAME_UPDATE (diff)
downloadvds-libraries-28ef6a3d989e1be1973362dff18ce1d7179f69e7.tar.gz
Merge pull request #388 from scribam/scegxm-enums
Add/Update some enums and structs
-rw-r--r--include/user/appmgr.h11
-rw-r--r--include/user/sysmodule.h1
2 files changed, 10 insertions, 2 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h
index a11c0ef..3cb2f2a 100644
--- a/include/user/appmgr.h
+++ b/include/user/appmgr.h
@@ -13,8 +13,9 @@ typedef enum SceAppMgrErrorCode {
SCE_APPMGR_ERROR_STATE = 0x80802013, //!< Invalid state
SCE_APPMGR_ERROR_NULL_POINTER = 0x80802016, //!< NULL pointer
SCE_APPMGR_ERROR_INVALID = 0x8080201A, //!< Invalid param
+ SCE_APPMGR_ERROR_TOO_LONG_ARGV = 0x8080201D, //!< argv is too long
SCE_APPMGR_ERROR_INVALID_SELF_PATH = 0x8080201E, //!< Invalid SELF path
- SCE_APPMGR_ERROR_TOO_LONG_ARGV = 0x8080201D //!< argv is too long
+ SCE_APPMGR_ERROR_BGM_PORT_BUSY = 0x80803000 //!< BGM port was occupied and could not be secured
} SceAppMgrErrorCode;
typedef enum SceAppMgrSystemEventType {
@@ -79,7 +80,13 @@ typedef struct SceAppMgrSaveDataSlotDelete {
SceAppUtilSaveDataMountPoint mountPoint; //!< Savedata mountpoint
} SceAppMgrSaveDataSlotDelete;
-typedef struct SceAppMgrAppState SceAppMgrAppState; // Missing struct
+typedef struct SceAppMgrAppState {
+ SceUInt32 systemEventNum;
+ SceUInt32 appEventNum;
+ SceBool isSystemUiOverlaid;
+ SceUInt8 reserved[116];
+} SceAppMgrAppState;
+
typedef struct SceAppMgrExecOptParam SceAppMgrExecOptParam; // Missing struct
typedef struct SceAppMgrLaunchAppOptParam SceAppMgrLaunchAppOptParam; // Missing struct
diff --git a/include/user/sysmodule.h b/include/user/sysmodule.h
index 1764dbd..25f252c 100644
--- a/include/user/sysmodule.h
+++ b/include/user/sysmodule.h
@@ -89,6 +89,7 @@ typedef enum SceSysmoduleModuleId {
SCE_SYSMODULE_NEAR_DIALOG_UTIL = 0x004A, //!< NearDialogUtil module
SCE_SYSMODULE_LOCATION_EXTENSION = 0x004B, //!< LocationExt module
SCE_SYSMODULE_AVPLAYER = 0x004C, //!< AVPlayer module
+ SCE_SYSMODULE_GAME_UPDATE = 0x004D, //!< Game Update module
SCE_SYSMODULE_MAIL_API = 0x004E, //!< Mail Api module
SCE_SYSMODULE_TELEPORT_CLIENT = 0x004F, //!< Teleport Client module
SCE_SYSMODULE_TELEPORT_SERVER = 0x0050, //!< Teleport Server module