From f47ff9c9daee3b13e723a4feec69eff104988583 Mon Sep 17 00:00:00 2001 From: Princess of Sleeping Date: Wed, 18 Sep 2019 23:01:41 +0900 Subject: fixed ksceIdStorageXXXXLeaf function --- include/kernel/idstorage.h | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'include/kernel/idstorage.h') 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 @@ -7,15 +7,21 @@ 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 } -- cgit v1.2.3