summaryrefslogtreecommitdiff
path: root/include/kernel/idstorage.h
diff options
context:
space:
mode:
authorPrincess of Sleeping2019-09-18 23:01:41 +0900
committerSunguk Lee2019-09-25 21:00:24 +0900
commitf47ff9c9daee3b13e723a4feec69eff104988583 (patch)
tree0809eb2c24cbdbaa94a974d3def4bd965f144fd3 /include/kernel/idstorage.h
parentfixed vshIdStorageXXXXLeaf function (diff)
downloadvds-libraries-f47ff9c9daee3b13e723a4feec69eff104988583.tar.gz
fixed ksceIdStorageXXXXLeaf function
Diffstat (limited to 'include/kernel/idstorage.h')
-rw-r--r--include/kernel/idstorage.h14
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
}