mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-04-21 12:05:23 +00:00
debugger: Fix PPU threads pausing
This commit is contained in:
parent
140c5bfc3e
commit
729cd9284e
1 changed files with 5 additions and 0 deletions
|
@ -1333,6 +1333,11 @@ bool lv2_obj::awake_unlocked(cpu_thread* cpu, s32 prio)
|
|||
{
|
||||
ppu_log.trace("suspend(): %s", target->id);
|
||||
g_pending.emplace_back(target);
|
||||
|
||||
if (is_paused(target->state - cpu_flag::suspend))
|
||||
{
|
||||
target->state.notify_one(cpu_flag::suspend);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue