diff options
author | Princess of Sleeping | 2019-09-18 23:00:11 +0900 |
---|---|---|
committer | Sunguk Lee | 2019-09-25 21:00:17 +0900 |
commit | f3b7bd7dee9f692a6f8cd13d820f7e24ec80cc62 (patch) | |
tree | 9d7584f5e96f66b63b2ac4da388a94ff30ca6ad9 /include | |
parent | Merge pull request #414 from Princess-of-Sleeping/master (diff) | |
download | vds-libraries-f3b7bd7dee9f692a6f8cd13d820f7e24ec80cc62.tar.gz |
fixed vshIdStorageXXXXLeaf function
Diffstat (limited to 'include')
-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); |