mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 08:51:28 +12:00
Add EFAULT checks to spu_thread_group_join, ppu_thread_join
Order of checks is based on firmware
This commit is contained in:
parent
0861226271
commit
84d42ecb65
3 changed files with 18 additions and 13 deletions
|
@ -574,7 +574,7 @@ void _spurs::handler_entry(ppu_thread& ppu, vm::ptr<CellSpurs> spurs)
|
|||
|
||||
CHECK_SUCCESS(sys_spu_thread_group_start(ppu, spurs->spuTG));
|
||||
|
||||
if (s32 rc = sys_spu_thread_group_join(ppu, spurs->spuTG, vm::null, vm::null))
|
||||
if (s32 rc = sys_spu_thread_group_join(ppu, spurs->spuTG, vm::var<u32>{}, vm::var<u32>{}))
|
||||
{
|
||||
if (rc == CELL_ESTAT)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue