Use g_fxo for network thread

Minor refactoring
This commit is contained in:
Nekotekina 2019-10-08 03:04:58 +03:00
parent 0f3c5f9e5a
commit 9d4de51cb6
2 changed files with 37 additions and 25 deletions

View file

@ -62,8 +62,6 @@ extern void ppu_initialize(const ppu_module&);
extern void ppu_unload_prx(const lv2_prx&);
extern std::shared_ptr<lv2_prx> ppu_load_prx(const ppu_prx_object&, const std::string&);
extern void network_thread_init();
fs::file g_tty;
atomic_t<s64> g_tty_size{0};
std::array<std::deque<std::string>, 16> g_tty_input;
@ -1586,7 +1584,6 @@ void Emulator::Load(const std::string& title_id, bool add_only, bool force_globa
Emu.GetCallbacks().init_pad_handler(m_title_id);
Emu.GetCallbacks().init_kb_handler();
Emu.GetCallbacks().init_mouse_handler();
network_thread_init();
}
else if (ppu_prx.open(elf_file) == elf_error::ok)
{