mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
spu: Fix interrupt jump check - also change interrupt variable to atomic bool for ease of setting/checking
This commit is contained in:
parent
34e01ba3d8
commit
d17093e65b
6 changed files with 15 additions and 14 deletions
|
|
@ -21,7 +21,7 @@ void RawSPUThread::cpu_task()
|
|||
SPUThread::cpu_task();
|
||||
|
||||
// save next PC and current SPU Interrupt status
|
||||
npc = pc | ((ch_event_stat & SPU_EVENT_INTR_ENABLED) != 0);
|
||||
npc = pc | (interrupts_enabled);
|
||||
}
|
||||
|
||||
void RawSPUThread::on_init(const std::shared_ptr<void>& _this)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue