spu: add a missing STOP code

should fix #2456
for whatever reason, this call accepts only an empty ouput mailbox, otherwise break
This commit is contained in:
elad 2018-02-04 13:47:49 +02:00 committed by Ivan
parent a6fb6c865d
commit 956ae17876

View File

@ -1767,6 +1767,17 @@ bool SPUThread::stop_and_signal(u32 code)
return true;
}
case 0x100:
{
if (ch_out_mbox.get_count())
{
fmt::throw_exception("STOP code 0x100: Out_MBox is not empty" HERE);
}
_mm_mfence();
return true;
}
case 0x101:
{
/* ===== sys_spu_thread_group_exit ===== */