mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-03 13:31:27 +12:00
Fix sceNpManagerGetNetworkTime called before rpcn connection
This commit is contained in:
parent
03761c5dd4
commit
a96f9d9bfb
1 changed files with 7 additions and 7 deletions
|
@ -3046,7 +3046,7 @@ error_code sceNpManagerGetStatus(vm::ptr<s32> status)
|
||||||
|
|
||||||
if (!nph.is_NP_init)
|
if (!nph.is_NP_init)
|
||||||
{
|
{
|
||||||
//return SCE_NP_ERROR_NOT_INITIALIZED;
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!status)
|
if (!status)
|
||||||
|
@ -3067,7 +3067,7 @@ error_code sceNpManagerGetNetworkTime(vm::ptr<CellRtcTick> pTick)
|
||||||
|
|
||||||
if (!nph.is_NP_init)
|
if (!nph.is_NP_init)
|
||||||
{
|
{
|
||||||
//return SCE_NP_ERROR_NOT_INITIALIZED;
|
return not_an_error(SCE_NP_ERROR_NOT_INITIALIZED);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!pTick)
|
if (!pTick)
|
||||||
|
@ -3098,7 +3098,7 @@ error_code sceNpManagerGetOnlineId(vm::ptr<SceNpOnlineId> onlineId)
|
||||||
|
|
||||||
if (!nph.is_NP_init)
|
if (!nph.is_NP_init)
|
||||||
{
|
{
|
||||||
//return SCE_NP_ERROR_NOT_INITIALIZED;
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!onlineId)
|
if (!onlineId)
|
||||||
|
@ -3127,10 +3127,10 @@ error_code sceNpManagerGetNpId(ppu_thread&, vm::ptr<SceNpId> npId)
|
||||||
|
|
||||||
auto& nph = g_fxo->get<named_thread<np::np_handler>>();
|
auto& nph = g_fxo->get<named_thread<np::np_handler>>();
|
||||||
|
|
||||||
// if (!nph.is_NP_init)
|
if (!nph.is_NP_init)
|
||||||
// {
|
{
|
||||||
// return SCE_NP_ERROR_NOT_INITIALIZED;
|
return SCE_NP_ERROR_NOT_INITIALIZED;
|
||||||
// }
|
}
|
||||||
|
|
||||||
if (!npId)
|
if (!npId)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue