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

@ -376,12 +376,12 @@ void spu_recompiler::FunctionCall()
fmt::throw_exception("Undefined behaviour" HERE);
}
_spu->set_interrupt_status(true);
_spu->interrupts_enabled = true;
_spu->pc &= ~0x4000000;
}
else if (_spu->pc & 0x8000000)
{
_spu->set_interrupt_status(false);
_spu->interrupts_enabled = false;
_spu->pc &= ~0x8000000;
}