diff options
author | devnoname120 | 2019-07-19 23:52:57 +0200 |
---|---|---|
committer | devnoname120 | 2019-07-20 04:14:55 +0200 |
commit | 9063c91b480e44d9b62cdf2314818d2c3bacf29f (patch) | |
tree | 9dadeb1efcaa1d4e98e41a7f2ddfd3f71152ee96 /include | |
parent | Update vshbridge.h (diff) | |
download | vds-libraries-9063c91b480e44d9b62cdf2314818d2c3bacf29f.tar.gz |
Add _sceAppMgrGetRawPath(OfApp0ByAppIdForShell)
Diffstat (limited to 'include')
-rw-r--r-- | include/user/appmgr.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/include/user/appmgr.h b/include/user/appmgr.h index 3cb2f2a..ae0f6c9 100644 --- a/include/user/appmgr.h +++ b/include/user/appmgr.h @@ -467,6 +467,27 @@ int sceAppMgrConvertVs0UserDrivePath(char *path, char *mount_point, int unk); */ int sceAppMgrGetRawPath(char *path, char *mount_point, char *unk); +/** + * Resolve a path to the corresponding true path (uses ::sceFiosKernelOverlayResolveSync underneath). + * + * @param[in] path - Path to convert (e.g. app0:) + * @param[out] resolved_path - True resolved path + * @param[in] unk - Unknown, provide an empty buffer + * + * @return 0 on success, < 0 on error. + */ +int _sceAppMgrGetRawPath(char *path, char *resolved_path, int resolved_path_size, char unk[16]); + +/** + * Get the real/resolved path of app0: (where it's actually mounted) + * + * @param[in] appId - Use -2 for the current application + * @param[out] resolved_path - Buffer that will hold the resolved path. It should have enough room to hold 292 characters or it will buffer overflow (noname120). + * + * @return 0 on success. + */ +int _sceAppMgrGetRawPathOfApp0ByAppIdForShell(int appId, char resolved_path[292]); + #ifdef __cplusplus } #endif |