mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-10 17:01:24 +12: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
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue