mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 15:31:26 +12:00
sys_spu: protect sys_spu_image members in kernel mode
Save relevant info in idm, set sys_spu_image segs and nsegs members to 0.
This commit is contained in:
parent
8a176de6a1
commit
fad8b38b28
3 changed files with 57 additions and 20 deletions
|
@ -1132,6 +1132,7 @@ void spu_thread::cpu_task()
|
|||
|
||||
skip_npc_set = false;
|
||||
|
||||
// Note: works both on RawSPU and threaded SPU!
|
||||
set_interrupt_status((pc & 1) != 0);
|
||||
|
||||
pc &= 0x3fffc;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue