mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-16 11:48:36 +12:00
SPU: IRET, SN event
This commit is contained in:
parent
64ac6a59c4
commit
d2ddb9882f
6 changed files with 49 additions and 36 deletions
|
@ -76,4 +76,10 @@ void spu_recompiler_base::enter(SPUThread& spu)
|
|||
}
|
||||
|
||||
spu.pc = res & 0x3fffc;
|
||||
|
||||
if ((spu.ch_event_stat & SPU_EVENT_INTR_TEST) > SPU_EVENT_INTR_ENABLED)
|
||||
{
|
||||
spu.ch_event_stat &= ~SPU_EVENT_INTR_ENABLED;
|
||||
spu.srr0 = std::exchange(spu.pc, 0);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue