mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-06 06:55:09 +00:00
sys_net/NP: set some init dependencies
Ensure finalization order of network threads. This should prevent some crashes.
This commit is contained in:
parent
064fc81697
commit
86d2316089
4 changed files with 15 additions and 0 deletions
|
|
@ -42,6 +42,8 @@ LOG_CHANNEL(nph_log, "NPHandler");
|
|||
|
||||
np_handler::np_handler()
|
||||
{
|
||||
g_fxo->need<named_thread<signaling_handler>>();
|
||||
|
||||
g_cfg_rpcn.load();
|
||||
|
||||
is_connected = (g_cfg.net.net_active == np_internet_status::enabled);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue