From aed153726f3d852e286b2d3c2da0177528b156e1 Mon Sep 17 00:00:00 2001 From: scribam Date: Tue, 22 Jan 2019 23:10:07 +0100 Subject: Update SceAppMgrAppState --- include/user/appmgr.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'include/user/appmgr.h') diff --git a/include/user/appmgr.h b/include/user/appmgr.h index a11c0ef..5c3d45a 100644 --- a/include/user/appmgr.h +++ b/include/user/appmgr.h @@ -79,7 +79,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 -- cgit v1.2.3 From 02d4e28353ce4e80582de1cab2aa83b96ccbc8b5 Mon Sep 17 00:00:00 2001 From: scribam Date: Tue, 22 Jan 2019 23:23:15 +0100 Subject: Add error codes --- include/user/appmgr.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/user/appmgr.h') diff --git a/include/user/appmgr.h b/include/user/appmgr.h index 5c3d45a..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 { -- cgit v1.2.3