From bfa4fcf5842e3c52d6c80e0493b59f618cbe409b Mon Sep 17 00:00:00 2001 From: Nekotekina Date: Fri, 3 Jul 2020 02:46:23 +0300 Subject: [PATCH] Use g_fxo for progress_dialog_server --- rpcs3/Emu/System.cpp | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rpcs3/Emu/System.cpp b/rpcs3/Emu/System.cpp index 5b3e4abbb3..50dec90191 100644 --- a/rpcs3/Emu/System.cpp +++ b/rpcs3/Emu/System.cpp @@ -79,6 +79,11 @@ atomic_t g_progr_fdone{0}; atomic_t g_progr_ptotal{0}; atomic_t g_progr_pdone{0}; +namespace +{ + struct progress_dialog_server; +} + template<> void fmt_class_string::format(std::string& out, u64 arg) { @@ -117,6 +122,7 @@ void Emulator::Init() idm::init(); g_fxo->reset(); + g_fxo->init>(); // Reset defaults, cache them g_cfg.from_default(); @@ -2013,5 +2019,3 @@ void stx::manual_fixed_typemap::destroy_reporter(const char* name, unsigne } Emulator Emu; - -named_thread g_progress_dlg_server;