mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 00:41:26 +12:00
parent
0aed00a758
commit
571bdfc828
4 changed files with 14 additions and 5 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue