From af3ef02ca091a8925b8ac0227d94a3322fb80e52 Mon Sep 17 00:00:00 2001 From: Megamouse Date: Thu, 4 Nov 2021 21:18:33 +0100 Subject: [PATCH] fix npDrmIsAvailable --- 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 467e6a12e5..f947f515c0 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp.cpp @@ -481,7 +481,7 @@ error_code npDrmIsAvailable(vm::cptr k_licensee_addr, vm::cptr drm_pat const auto [fs_error, ppath, real_path, enc_file, type] = lv2_file::open(enc_drm_path, 0, 0); - if (!fs_error) + if (fs_error) { return {fs_error, enc_drm_path}; }