mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-06 00:59:18 +00:00
Use g_fxo for rsx::rsx_replay_thread
This commit is contained in:
parent
a6edcca6e6
commit
50fc5dfde5
@ -411,6 +411,7 @@ class named_thread final : public Context, result_storage_t<Context>, thread_bas
|
||||
|
||||
public:
|
||||
// Default constructor
|
||||
template <bool Valid = std::is_default_constructible_v<Context>, typename = std::enable_if_t<Valid>>
|
||||
named_thread()
|
||||
: Context()
|
||||
, thread(get_default_thread_name())
|
||||
|
@ -655,7 +655,7 @@ bool Emulator::BootRsxCapture(const std::string& path)
|
||||
GetCallbacks().on_run();
|
||||
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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user