mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Use g_fxo for rsx::rsx_replay_thread
This commit is contained in:
parent
a6edcca6e6
commit
50fc5dfde5
2 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue