diff options
author | Sunguk Lee | 2019-09-25 21:02:16 +0900 |
---|---|---|
committer | Sunguk Lee | 2019-09-25 21:02:16 +0900 |
commit | 2c99ffe79e6da5e04af309f1613c699db81cbb0b (patch) | |
tree | 05465d0d38cf3102b01af56f244de3cf4e3192b5 /include/user | |
parent | Merge pull request #414 from Princess-of-Sleeping/master (diff) | |
parent | fixed ksceKernelFindClassByName (diff) | |
download | vds-libraries-2c99ffe79e6da5e04af309f1613c699db81cbb0b.tar.gz |
Merge pull request #419 from Princess-of-Sleeping/master
Fix wrong function arguments
Diffstat (limited to 'include/user')
-rw-r--r-- | include/user/vshbridge.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/user/vshbridge.h b/include/user/vshbridge.h index 67b5db1..d965bfa 100644 --- a/include/user/vshbridge.h +++ b/include/user/vshbridge.h @@ -38,13 +38,19 @@ int vshIdStorageIsReadOnly(void); /** * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error - * @param[out] buf - Leaf data - * @param[in] buf_size - set 0x200 / buf_size != 0x200 = 0x800F090D + * @param[out] buf - Leaf data, size is 512 byte * * @return 0 on success, < 0 on error. */ -int vshIdStorageReadLeaf(int leafnum, void *buf, int buf_size); -int vshIdStorageWriteLeaf(int leafnum, const void *buf, int buf_size); +int vshIdStorageReadLeaf(int leafnum, void *buf); + +/** + * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error + * @param[in] buf - Leaf data, size is 512 byte + * + * @return 0 on success, < 0 on error. + */ +int vshIdStorageWriteLeaf(int leafnum, const void *buf); int vshSblAimgrIsCEX(void); int vshSblAimgrIsDEX(void); |