diff options
Diffstat (limited to 'include/kernel/idstorage.h')
-rw-r--r-- | include/kernel/idstorage.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/include/kernel/idstorage.h b/include/kernel/idstorage.h index 3f65799..a28e310 100644 --- a/include/kernel/idstorage.h +++ b/include/kernel/idstorage.h @@ -8,14 +8,20 @@ extern "C" { #endif /** + * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error + * @param[out] buf - Leaf data, size is 512 byte + * + * @return 0 on success, < 0 on error. + */ +int sceIdStorageReadLeaf(int leafnum, void *buf); + +/** * @param[in] leafnum - 0x0 ~ 0x80 / leafnum > 0x80 = error - * @param[out] buf - Leaf data - * @param[in] buf_size - set 0x200 / buf_size != 0x200 = 0x800F090D + * @param[in] buf - Leaf data, size is 512 byte * * @return 0 on success, < 0 on error. */ -int sceIdStorageReadLeaf(int leafnum, void *buf, int buf_size); -int sceIdStorageWriteLeaf(int leafnum, const void *buf, int buf_size); +int sceIdStorageWriteLeaf(int leafnum, const void *buf); #ifdef __cplusplus } |