mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 03:55:32 +00:00
Mini sceNpCommerce2Init fix
This commit is contained in:
parent
0d1fbfb755
commit
94e8d6fe13
1 changed files with 7 additions and 0 deletions
|
@ -83,6 +83,13 @@ error_code sceNpCommerce2Init()
|
|||
{
|
||||
sceNpCommerce2.warning("sceNpCommerce2Init()");
|
||||
|
||||
auto& nph = g_fxo->get<named_thread<np::np_handler>>();
|
||||
|
||||
if (!nph.is_NP_init)
|
||||
{
|
||||
return SCE_NP_ERROR_NOT_INITIALIZED;
|
||||
}
|
||||
|
||||
return CELL_OK;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue