mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-20 19:45:20 +00:00
Minor fix (linux)
This commit is contained in:
parent
f35babad98
commit
c0589cab05
1 changed files with 4 additions and 2 deletions
|
@ -477,10 +477,12 @@ void Emulator::Stop()
|
|||
|
||||
rpcs3::on_stop()();
|
||||
|
||||
auto on_select = [](u32, cpu_thread& cpu)
|
||||
auto e_stop = std::make_exception_ptr(cpu_flag::dbg_global_stop);
|
||||
|
||||
auto on_select = [&](u32, cpu_thread& cpu)
|
||||
{
|
||||
cpu.state += cpu_flag::dbg_global_stop;
|
||||
cpu.get()->set_exception(std::make_exception_ptr(cpu_flag::dbg_global_stop));
|
||||
cpu.get()->set_exception(e_stop);
|
||||
};
|
||||
|
||||
idm::select<ppu_thread>(on_select);
|
||||
|
|
Loading…
Add table
Reference in a new issue