mirror of
https://github.com/RPCS3/rpcs3.git
synced 2024-11-17 08:11:51 +00:00
debugger: Fix PPU threads pausing
This commit is contained in:
parent
140c5bfc3e
commit
729cd9284e
@ -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…
Reference in New Issue
Block a user