mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-05 06:26:49 +00: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