From a7a9d5d9d23a2bc251edb60ea9d8a5c901ef65f2 Mon Sep 17 00:00:00 2001 From: Princess-of-Sleeping <29831892+Princess-of-Sleeping@users.noreply.github.com> Date: Thu, 15 Apr 2021 06:05:52 +0900 Subject: [PATCH] Fix _sceNpDrmGetRifName arguments (#594) --- refresh.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/refresh.c b/refresh.c index 56373a6..13100f1 100644 --- a/refresh.c +++ b/refresh.c @@ -116,7 +116,7 @@ int refreshNeeded(const char *app_path, const char* content_type) { sceRegMgrGetKeyBin("/CONFIG/NP", "account_id", &aid, sizeof(uint64_t)); // Check if bounded rif file exits - _sceNpDrmGetRifName(rif_name, 0, aid); + _sceNpDrmGetRifName(rif_name, aid); if (strcmp(content_type, "app") == 0) snprintf(rif_path, MAX_PATH_LENGTH, "ux0:license/app/%s/%s", titleid, rif_name); else if (strcmp(content_type, "dlc") == 0) @@ -125,7 +125,7 @@ int refreshNeeded(const char *app_path, const char* content_type) { return 0; // Check if fixed rif file exits - _sceNpDrmGetFixedRifName(rif_name, 0, 0); + _sceNpDrmGetFixedRifName(rif_name, 0); if (strcmp(content_type, "app") == 0) snprintf(rif_path, MAX_PATH_LENGTH, "ux0:license/app/%s/%s", titleid, rif_name); else if (strcmp(content_type, "dlc") == 0)