spu: Fix interrupt jump check - also change interrupt variable to atomic bool for ease of setting/checking

This commit is contained in:
Jake 2017-11-30 20:50:01 -06:00 committed by kd-11
parent 34e01ba3d8
commit d17093e65b
6 changed files with 15 additions and 14 deletions

View file

@ -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)