mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 07:51:28 +12:00
Fix properly RSX replay thread stop bug
This commit is contained in:
parent
aff871f127
commit
4f5348c7d4
3 changed files with 23 additions and 15 deletions
|
@ -2570,13 +2570,6 @@ std::shared_ptr<utils::serial> Emulator::Kill(bool allow_autoexit, bool savestat
|
|||
|
||||
// Signal threads
|
||||
|
||||
// Stop the replay thread "game" first
|
||||
if (auto thr = g_fxo->try_get<named_thread<rsx::rsx_replay_thread>>())
|
||||
{
|
||||
sys_log.notice("Stopping RSX replay thread...");
|
||||
*thr = thread_state::finished;
|
||||
}
|
||||
|
||||
if (auto rsx = g_fxo->try_get<rsx::thread>())
|
||||
{
|
||||
*static_cast<cpu_thread*>(rsx) = thread_state::aborting;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue