mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
Fix RSX replay thread lifecycle
This commit is contained in:
parent
924774d3ef
commit
845a7d9968
2 changed files with 5 additions and 1 deletions
|
@ -553,7 +553,9 @@ bool Emulator::BootRsxCapture(const std::string& path)
|
|||
GetCallbacks().on_run(false);
|
||||
m_state = system_state::running;
|
||||
|
||||
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"sv, std::move(frame));
|
||||
replay_thr->state -= cpu_flag::stop;
|
||||
thread_ctrl::notify(*replay_thr);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue