Skip to content

Commit

Permalink
Mini sceNpCommerce2Init fix
Browse files Browse the repository at this point in the history
  • Loading branch information
RipleyTom authored and Megamouse committed Jan 25, 2024
1 parent 0d1fbfb commit 94e8d6f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rpcs3/Emu/Cell/Modules/sceNpCommerce2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 94e8d6f

Please sign in to comment.