Use g_fxo for rsx::rsx_replay_thread
This commit is contained in:
@@ -411,6 +411,7 @@ class named_thread final : public Context, result_storage_t<Context>, thread_bas
|
|||||||
|
|
||||||
public:
|
public:
|
||||||
// Default constructor
|
// Default constructor
|
||||||
|
template <bool Valid = std::is_default_constructible_v<Context>, typename = std::enable_if_t<Valid>>
|
||||||
named_thread()
|
named_thread()
|
||||||
: Context()
|
: Context()
|
||||||
, thread(get_default_thread_name())
|
, thread(get_default_thread_name())
|
||||||
|
|||||||
@@ -655,7 +655,7 @@ bool Emulator::BootRsxCapture(const std::string& path)
|
|||||||
GetCallbacks().on_run();
|
GetCallbacks().on_run();
|
||||||
m_state = system_state::running;
|
m_state = system_state::running;
|
||||||
|
|
||||||
fxm::make<named_thread<rsx::rsx_replay_thread>>("RSX Replay", std::move(frame));
|
g_fxo->init<named_thread<rsx::rsx_replay_thread>>("RSX Replay"sv, std::move(frame));
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user