mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-01-16 16:21:03 +00:00
Add missing cpu state check sys_spu_thread_receive_event
This commit is contained in:
parent
fe7933b0d2
commit
a9c18964b6
@ -2812,6 +2812,11 @@ bool spu_thread::stop_and_signal(u32 code)
|
||||
|
||||
std::lock_guard lock(group->mutex);
|
||||
|
||||
if (is_stopped())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (group->run_state >= SPU_THREAD_GROUP_STATUS_WAITING && group->run_state <= SPU_THREAD_GROUP_STATUS_WAITING_AND_SUSPENDED)
|
||||
{
|
||||
// Try again
|
||||
|
Loading…
Reference in New Issue
Block a user