From df0f6814fe52c02952a17ba050cc40cddc12113e Mon Sep 17 00:00:00 2001 From: Bluzume Date: Wed, 8 Jan 2020 01:45:59 +1300 Subject: Match db.yml names pss_crypto_* and update structure (#436) * Match db.yml names (pss_crypto_open) the _p was from a plugin that hooks these functions .. * Add pss_crypto_close * Update unk0 --- include/user/pss.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'include/user/pss.h') diff --git a/include/user/pss.h b/include/user/pss.h index d40bc5c..1330a6d 100644 --- a/include/user/pss.h +++ b/include/user/pss.h @@ -8,14 +8,15 @@ extern "C" { #endif typedef struct ScePssCryptoHandle { - uint32_t unk0; + SceUID fd; uint32_t unk1; SceSize size; uint32_t unk3; } ScePssCryptoHandle; -int pss_crypto_open_p(ScePssCryptoHandle *handle, char *path); -char *pss_crypto_read_p(ScePssCryptoHandle *handle, int *mode); +int pss_crypto_open(ScePssCryptoHandle *handle, char *path); +char *pss_crypto_read(ScePssCryptoHandle *handle, int *mode); +int pss_crypto_close(ScePssCryptoHandle *handle); void *pss_code_mem_alloc(SceSize *); void pss_code_mem_flush_icache(const void *, SceSize); void pss_code_mem_lock(void); -- cgit v1.2.3