From deeb0ab979ddb00dc2679c6e3c8335e203a0b2db Mon Sep 17 00:00:00 2001 From: Volodymyr Atamanenko Date: Tue, 13 Aug 2024 19:00:30 +0400 Subject: [PATCH] Update vshbridge.h --- include/psp2/vshbridge.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/include/psp2/vshbridge.h b/include/psp2/vshbridge.h index 62027723d..8b40af0b2 100644 --- a/include/psp2/vshbridge.h +++ b/include/psp2/vshbridge.h @@ -43,10 +43,10 @@ int _vshSblAimgrGetConsoleId(char CID[32]); SceUID _vshKernelSearchModuleByName(const char *module_name, const void *buffer); /** - * @param[in] id - mount id - * @param[in] path - mount path - * @param[in] permission - 1/RO 2/RW - * @param[in] buf - work buffer + * @param[in] id - Partition ID. Known IDs are: 0x200: os0, 0x300: vs0, 0x400: vd0, 0x500: tm0, 0x700: ud0, 0x800: sa0, 0x900: gro0, 0xC00: pd0 + * @param[in] path - Mount path (optional, can be NULL) + * @param[in] permission - 1 for read-only, 2 for read-write + * @param[in] buf - Work buffer. Allocate 0x100 and (important!) memset to 0 * * @return 0 >= on success, < 0 on error. */ @@ -54,7 +54,7 @@ int _vshIoMount(int id, const char *path, int permission, void *buf); /** - * @param[in] id - mount id + * @param[in] id - Partition ID. Known IDs are: 0x200: os0, 0x300: vs0, 0x400: vd0, 0x500: tm0, 0x700: ud0, 0x800: sa0, 0x900: gro0, 0xC00: pd0 * @param[in] force - Set to 1 to force umount * @param[in] unk2 - Unknown, set 0 * @param[in] unk3 - Unknown, set 0