mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 08:21:29 +12:00
Use g_fxo for progress_dialog_server
This commit is contained in:
parent
48f70fbf10
commit
bfa4fcf584
1 changed files with 6 additions and 2 deletions
|
@ -79,6 +79,11 @@ atomic_t<u32> g_progr_fdone{0};
|
|||
atomic_t<u32> g_progr_ptotal{0};
|
||||
atomic_t<u32> g_progr_pdone{0};
|
||||
|
||||
namespace
|
||||
{
|
||||
struct progress_dialog_server;
|
||||
}
|
||||
|
||||
template<>
|
||||
void fmt_class_string<game_boot_result>::format(std::string& out, u64 arg)
|
||||
{
|
||||
|
@ -117,6 +122,7 @@ void Emulator::Init()
|
|||
|
||||
idm::init();
|
||||
g_fxo->reset();
|
||||
g_fxo->init<named_thread<progress_dialog_server>>();
|
||||
|
||||
// Reset defaults, cache them
|
||||
g_cfg.from_default();
|
||||
|
@ -2013,5 +2019,3 @@ void stx::manual_fixed_typemap<void>::destroy_reporter(const char* name, unsigne
|
|||
}
|
||||
|
||||
Emulator Emu;
|
||||
|
||||
named_thread<progress_dialog_server> g_progress_dlg_server;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue