mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
SPU: Implement "quintuple" Inbound MBOX storage
This commit is contained in:
parent
274386a078
commit
48382564d1
4 changed files with 99 additions and 33 deletions
|
@ -4124,9 +4124,9 @@ s64 spu_thread::get_ch_value(u32 ch)
|
|||
busy_wait();
|
||||
}
|
||||
|
||||
u32 out = 0;
|
||||
const auto [old_count, out] = ch_in_mbox.pop_wait(*this);
|
||||
|
||||
if (const uint old_count = ch_in_mbox.try_pop(out))
|
||||
if (old_count)
|
||||
{
|
||||
if (old_count == 4 /* SPU_IN_MBOX_THRESHOLD */) // TODO: check this
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue