From f7e52fe949737f0a6c5da34e2aa3fd6a008bbff3 Mon Sep 17 00:00:00 2001 From: Reiko Asakura Date: Thu, 20 Aug 2020 15:43:34 -0400 Subject: Add sceAppMgrDrmOpen/Close --- include/kernel/appmgr.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'include/kernel/appmgr.h') diff --git a/include/kernel/appmgr.h b/include/kernel/appmgr.h index 2f8e91a..8bec551 100644 --- a/include/kernel/appmgr.h +++ b/include/kernel/appmgr.h @@ -1,7 +1,7 @@ #ifndef _PSP2_KERNEL_APPMGR_H_ #define _PSP2_KERNEL_APPMGR_H_ -#include +#include #ifdef __cplusplus extern "C" { @@ -33,18 +33,22 @@ typedef struct /** * @brief Launch an application for debugging - * + * * @param[in] path Path to the executable to load * @param[in] args Arguments to pass to the executable and to configure appmgr * @param[in] arg_size The size of the args passed in * @param[in] type Set to 0x80000000 for debugging launch * @param[in] param pointer to launch params * @param unk unknown, set to nullptr - * + * * @return pid on success, else < 0. */ int sceAppMgrLaunchAppByPath(const char *path, const char *args, SceSize arg_size, unsigned int type, const SceAppMgrLaunchParam *param, void *unk); +SceInt32 sceAppMgrDrmOpen(const SceAppMgrDrmAddcontParam *pParam); + +SceInt32 sceAppMgrDrmClose(const SceAppMgrDrmAddcontParam *pParam); + #ifdef __cplusplus } #endif -- cgit v1.2.3