summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/kernel/display.h5
-rw-r--r--include/user/appmgr.h9
-rw-r--r--nids/360/SceSysmem.yml6
3 files changed, 17 insertions, 3 deletions
diff --git a/include/kernel/display.h b/include/kernel/display.h
index 0f49bee..a074d6f 100644
--- a/include/kernel/display.h
+++ b/include/kernel/display.h
@@ -79,6 +79,11 @@ int sceDisplayGetFrameBuf(SceDisplayFrameBuf *pParam, int sync);
*/
int sceDisplayGetFrameBufDimensions(int *width, int *height);
+/**
+ * Wait for vertical blank start
+ */
+int sceDisplayWaitVblankStart(void);
+
#ifdef __cplusplus
}
#endif
diff --git a/include/user/appmgr.h b/include/user/appmgr.h
index b659731..d936bb2 100644
--- a/include/user/appmgr.h
+++ b/include/user/appmgr.h
@@ -59,6 +59,12 @@ typedef struct sceAppMgrLoadExecOptParam {
#define SCE_APPMGR_MAX_APP_NAME_LENGTH (31)
+//! Get process ID by name (name of SceShell is NPXS19999)
+int sceAppMgrGetIdByName(SceUID *pid, const char *name);
+
+//! Get process name by ID
+int sceAppMgrGetNameById(SceUID pid, char *name);
+
//! Destroy all other apps
int sceAppMgrDestroyOtherApp(void);
@@ -114,6 +120,9 @@ int sceAppMgrLaunchAppByName2(const char *name, const char *param, SceAppMgrLaun
//! return AppId ?
SceUID sceAppMgrLaunchAppByName2ForShell(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam);
+//! Mount pfs, set unk and unk2 to 0
+int sceAppMgrGameDataMount(const char *path, int unk, int unk2, char *mount_point);
+
//! id: 100 (photo0), 101 (friends), 102 (messages), 103 (near), 105 (music), 108 (calendar)
int sceAppMgrAppDataMount(int id, char *mount_point);
diff --git a/nids/360/SceSysmem.yml b/nids/360/SceSysmem.yml
index ddf4b80..864cc57 100644
--- a/nids/360/SceSysmem.yml
+++ b/nids/360/SceSysmem.yml
@@ -43,10 +43,10 @@ modules:
SceKernelSuspendForDriver:
nid: 0x7290B21C
functions:
- sceKernelNotifySuspendCallback: 0xD4622EA8
sceKernelPowerTick: 0xE0489831
- sceKernelRegisterSuspendCallback: 0x04C05D10
- sceKernelUnregisterSuspendCallback: 0xDD61D621
+ sceKernelRegisterSysEventHandler: 0x04C05D10
+ sceKernelSysEventDispatch: 0xD4622EA8
+ sceKernelUnregisterSysEventHandler: 0xDD61D621
SceKernelUtilsForDriver:
nid: 0x496AD8B4
functions: