Restore explicit signaling of RSX thread for now.
This commit is contained in:
Nekotekina 2021-06-27 13:18:48 +03:00
parent 0aed00a758
commit 571bdfc828
4 changed files with 14 additions and 5 deletions

View file

@ -1535,6 +1535,11 @@ void Emulator::Stop(bool restart)
});
// Signal threads
if (auto rsx = g_fxo->try_get<rsx::thread>())
{
*static_cast<cpu_thread*>(rsx) = thread_state::aborting;
}
for (const auto& [type, data] : *g_fxo)
{
if (type.stop)