mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
sys_spu: Implement proper SPU group flags (#7320)
* sys_spu: Implement proper SPU group flags
This commit is contained in:
parent
3cc42c1bf8
commit
f8b3c48af7
3 changed files with 140 additions and 20 deletions
|
@ -2868,8 +2868,9 @@ bool spu_thread::stop_and_signal(u32 code)
|
|||
|
||||
spu_log.trace("sys_spu_thread_receive_event(spuq=0x%x)", spuq);
|
||||
|
||||
if (group->type & SYS_SPU_THREAD_GROUP_TYPE_EXCLUSIVE_NON_CONTEXT) // this check may be inaccurate
|
||||
if (!group->has_scheduler_context /*|| group->type & 0xf00*/)
|
||||
{
|
||||
spu_log.error("sys_spu_thread_receive_event(): Incompatible group type = 0x%x", group->type);
|
||||
return ch_in_mbox.set_values(1, CELL_EINVAL), true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue