From a5b3b0df4089b65677981f70cf158fdb582062db Mon Sep 17 00:00:00 2001 From: Eladash Date: Sat, 7 Dec 2019 08:19:06 +0200 Subject: [PATCH] sceNpBasicAddBlockListEntry: Add connection check --- rpcs3/Emu/Cell/Modules/sceNp.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rpcs3/Emu/Cell/Modules/sceNp.cpp b/rpcs3/Emu/Cell/Modules/sceNp.cpp index 6b812c351b..6433c77657 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp.cpp @@ -1138,6 +1138,11 @@ error_code sceNpBasicAddBlockListEntry(vm::cptr npid) return SCE_NP_BASIC_ERROR_INVALID_ARGUMENT; } + if (g_psn_connection_status != SCE_NP_MANAGER_STATUS_ONLINE) + { + return SCE_NP_BASIC_ERROR_NOT_CONNECTED; + } + return CELL_OK; }