From 1584aba387c2a784ca8077df6af001585ffb6039 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 14 Oct 2021 21:49:52 +0200 Subject: [PATCH] sceNpDrmIsAvailable: fix error check No idea where I saw this check. Probably looked at the wrong function --- rpcs3/Emu/Cell/Modules/sceNp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpcs3/Emu/Cell/Modules/sceNp.cpp b/rpcs3/Emu/Cell/Modules/sceNp.cpp index 06952b0f43..bdf04f61f5 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp.cpp @@ -453,7 +453,7 @@ error_code sceNpTerm() error_code npDrmIsAvailable(vm::cptr k_licensee_addr, vm::cptr drm_path) { - if (!k_licensee_addr || !drm_path) + if (!drm_path) { return SCE_NP_DRM_ERROR_INVALID_PARAM; }