diff options
author | TheOfficialFloW | 2016-11-05 10:45:45 +0100 |
---|---|---|
committer | xyzz | 2016-11-05 12:45:45 +0300 |
commit | cd10f01918b766331cc4a4b9e7cf118530709d3c (patch) | |
tree | 2258d7af565861809e3e71c10d7ca8c4eb82c50a /include/user/appmgr.h | |
parent | Merge pull request #75 from DaveeFTW/libgcc_fix (diff) | |
download | vds-libraries-cd10f01918b766331cc4a4b9e7cf118530709d3c.tar.gz |
Fixed number of arguments in two functions (#58)
* Fixed number of arguments in two functions
The number of arguments in the functions commited by @himanshugoel2797 were wrong
@himanshugoel2797, reverse enginering the api properly instead of just guessing them.
* Update appmgr.h
* Removed underscore function
Diffstat (limited to '')
-rw-r--r-- | include/user/appmgr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h index 1b07446..e6fffaa 100644 --- a/include/user/appmgr.h +++ b/include/user/appmgr.h @@ -56,11 +56,12 @@ typedef struct SceAppMgrSystemEvent { typedef struct SceAppMgrAppState SceAppMgrAppState; // Missing struct typedef struct SceAppMgrExecOptParam SceAppMgrExecOptParam; // Missing struct +typedef struct SceAppMgrLaunchAppOptParam SceAppMgrLaunchAppOptParam; // Missing struct #define SCE_APPMGR_MAX_APP_NAME_LENGTH (31) //! name: The Title ID of the application -int _sceAppMgrDestroyAppByName(char *name); +int sceAppMgrDestroyAppByName(char *name); int _sceAppMgrGetAppState(SceAppMgrAppState *appState, uint32_t len, uint32_t version); @@ -98,7 +99,8 @@ int sceAppMgrLoadExec(const char *appPath, char * const argv[], int sceAppMgrLaunchAppByUri(int flags, char *uri); //! name: The Title ID of the application -int sceAppMgrLaunchAppByName2(char *name); +//! param: The parameter passed to the application which can be retrieved with sceAppMgrGetAppParam +int sceAppMgrLaunchAppByName2(const char *name, const char *param, SceAppMgrLaunchAppOptParam *optParam); //! id: 100 (photo0), 101 (friends), 102 (messages), 103 (near), 105 (music), 108 (calendar) int sceAppMgrAppDataMount(int id, char *mount_point); |