diff --git a/rpcs3/Emu/Cell/Modules/sceNp.cpp b/rpcs3/Emu/Cell/Modules/sceNp.cpp index c5604cc0aa..99e3928a10 100644 --- a/rpcs3/Emu/Cell/Modules/sceNp.cpp +++ b/rpcs3/Emu/Cell/Modules/sceNp.cpp @@ -3046,7 +3046,7 @@ error_code sceNpManagerGetStatus(vm::ptr status) if (!nph.is_NP_init) { - //return SCE_NP_ERROR_NOT_INITIALIZED; + return SCE_NP_ERROR_NOT_INITIALIZED; } if (!status) @@ -3067,7 +3067,7 @@ error_code sceNpManagerGetNetworkTime(vm::ptr pTick) if (!nph.is_NP_init) { - //return SCE_NP_ERROR_NOT_INITIALIZED; + return not_an_error(SCE_NP_ERROR_NOT_INITIALIZED); } if (!pTick) @@ -3098,7 +3098,7 @@ error_code sceNpManagerGetOnlineId(vm::ptr onlineId) if (!nph.is_NP_init) { - //return SCE_NP_ERROR_NOT_INITIALIZED; + return SCE_NP_ERROR_NOT_INITIALIZED; } if (!onlineId) @@ -3127,10 +3127,10 @@ error_code sceNpManagerGetNpId(ppu_thread&, vm::ptr npId) auto& nph = g_fxo->get>(); - // if (!nph.is_NP_init) - // { - // return SCE_NP_ERROR_NOT_INITIALIZED; - // } + if (!nph.is_NP_init) + { + return SCE_NP_ERROR_NOT_INITIALIZED; + } if (!npId) {