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(-) 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(-) 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 From f19c7723918d31a2c9300a769e918483632f5079 Mon Sep 17 00:00:00 2001 From: scribam Date: Mon, 28 Jan 2019 21:07:54 +0100 Subject: Add SCE_SYSMODULE_GAME_UPDATE --- include/user/sysmodule.h | 1 + 1 file changed, 1 insertion(+) 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 -- cgit v1.2.3