mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-08 16:01:42 +12:00
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:
parent
a6fb6c865d
commit
956ae17876
1 changed files with 11 additions and 0 deletions
|
@ -1767,6 +1767,17 @@ bool SPUThread::stop_and_signal(u32 code)
|
||||||
return true;
|
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:
|
case 0x101:
|
||||||
{
|
{
|
||||||
/* ===== sys_spu_thread_group_exit ===== */
|
/* ===== sys_spu_thread_group_exit ===== */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue