mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 00:11:24 +12:00
Simplify named_thread construction
This commit is contained in:
parent
b8477a470f
commit
daa53b77cf
12 changed files with 70 additions and 38 deletions
|
@ -411,7 +411,7 @@ bool Emulator::BootRsxCapture(const std::string& path)
|
|||
GetCallbacks().on_run(false);
|
||||
m_state = system_state::running;
|
||||
|
||||
auto replay_thr = g_fxo->init<named_thread<rsx::rsx_replay_thread>>("RSX Replay"sv, std::move(frame));
|
||||
auto replay_thr = g_fxo->init<named_thread<rsx::rsx_replay_thread>>("RSX Replay", std::move(frame));
|
||||
replay_thr->state -= cpu_flag::stop;
|
||||
replay_thr->state.notify_one(cpu_flag::stop);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue