From 3e22e49e4c4000fc041202e4a3e4fcd0e231181b Mon Sep 17 00:00:00 2001 From: Li Date: Thu, 13 Jun 2024 09:45:15 +0000 Subject: [PATCH] add missing arguments to scePsmDrmGetRifKey change it to uint64[2] it's actually uint64[2] --- include/psp2/npdrm.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/psp2/npdrm.h b/include/psp2/npdrm.h index 2d26688d6..3eced853c 100644 --- a/include/psp2/npdrm.h +++ b/include/psp2/npdrm.h @@ -72,11 +72,13 @@ int _sceNpDrmGetRifNameForInstall(char *rif_name, const void *rif_data, int unk) * * @param[out] keydata - Decrypted key data * - * @param[in] flags - Unknown + * @param[out] flags - License flags + * + * @param[out] exp_time expire time output, [0] is start_date, [1] is end_date * * @return 0 on success, < 0 on error */ -int scePsmDrmGetRifKey(const ScePsmDrmLicense *license_buf, char *keydata, int flags); +int scePsmDrmGetRifKey(const ScePsmDrmLicense *license_buf, char *keydata, int* flags, SceUInt64 exp_time[2]); #ifdef __cplusplus }