mirror of
https://github.com/ARMSX2/ARMSX3.git
synced 2026-08-24 16:58:52 -07:00
Mini sceNpCommerce2Init fix
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user