diff options
Diffstat (limited to '')
-rw-r--r-- | include/user/appmgr.h | 13 | ||||
-rw-r--r-- | include/user/sysmodule.h | 12 |
2 files changed, 25 insertions, 0 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h index 44c0fc8..a6e09c6 100644 --- a/include/user/appmgr.h +++ b/include/user/appmgr.h @@ -315,6 +315,19 @@ int sceAppMgrLaunchAppByName2(const char *name, const char *param, SceAppMgrLaun SceUID sceAppMgrLaunchAppByName2ForShell(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam); /** + * Mount game data + * + * @param[in] path - ux0:app/TITLEID + * @param[in] unk1 - Unknown, set 0 + * @param[in] unk2 - Unknown, set 0 + * @param[in] mount_point - Mountpoint to use + * + * @return 0 on success, < 0 on error. + * + */ +int sceAppMgrGameDataMount(const char *path, int unk1, int unk2, char *mount_point); + +/** * Mount application data * * @param[in] id - App data ID diff --git a/include/user/sysmodule.h b/include/user/sysmodule.h index 7811c7f..858b0a7 100644 --- a/include/user/sysmodule.h +++ b/include/user/sysmodule.h @@ -207,6 +207,18 @@ int sceSysmoduleIsLoadedInternal(SceSysmoduleInternalModuleId id); */ int sceSysmoduleLoadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSize args, void *argp, void *unk); +/** + * Unload an internal module with custom arguments. + * + * @param[in] id - Module ID to check. + * @param[in] args - Size of passed arguments. + * @param[in] argp - Pointer to arguments to pass. + * @param[in] unk - Unknown value. + * + * @return 0 on success, <0 otherwise. + */ +int sceSysmoduleUnloadModuleInternalWithArg(SceSysmoduleInternalModuleId id, SceSize args, void *argp, void *unk); + #ifdef __cplusplus } #endif |