Match db.yml names pss_crypto_* and update structure
* Match db.yml names (pss_crypto_open)
the _p was from a plugin that hooks these functions ..
* Add pss_crypto_close
* Update unk0
@@ -14,14 +14,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);
