summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/kernel/display.h5
-rw-r--r--include/user/appmgr.h9
2 files changed, 14 insertions, 0 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);