summaryrefslogtreecommitdiff
path: root/include/user/pss.h
diff options
context:
space:
mode:
authorBluzume2020-01-08 01:45:59 +1300
committerSunguk Lee2020-01-07 21:45:59 +0900
commitdf0f6814fe52c02952a17ba050cc40cddc12113e (patch)
tree7cdebd43fb6e681a6a992c0e023ad78c9a8bb780 /include/user/pss.h
parentAdd scePsmDrmGetRifInfo (#435) (diff)
downloadvds-libraries-df0f6814fe52c02952a17ba050cc40cddc12113e.tar.gz
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
Diffstat (limited to '')
-rw-r--r--include/user/pss.h7
1 files changed, 4 insertions, 3 deletions
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);