sys_spu: Implement proper SPU group flags (#7320)

* sys_spu: Implement proper SPU group flags
This commit is contained in:
Eladash 2020-02-05 22:46:05 +02:00 committed by GitHub
parent 3cc42c1bf8
commit f8b3c48af7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 140 additions and 20 deletions

View file

@ -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;
}