Return offline according to g_psn_connection_status.

This commit is contained in:
ikki84 2018-05-23 00:56:38 -03:00 committed by Ivan
parent 83b09cf047
commit 73f7ab29bc

View file

@ -1191,7 +1191,13 @@ s32 sceNpManagerRequestTicket()
s32 sceNpManagerRequestTicket2()
{
UNIMPLEMENTED_FUNC(sceNp);
return SCE_NP_ERROR_OFFLINE;
if (g_psn_connection_status == SCE_NP_MANAGER_STATUS_OFFLINE)
{
return SCE_NP_ERROR_OFFLINE;
}
return CELL_OK;
}
s32 sceNpManagerGetTicket()