mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-21 05:09:34 -06:00
Clean up usage of PowerPCState::Exceptions.
Accessing any member of ppcState from a thread other than the CPU thread is not allowed; don't pretend that there's any exception to that rule.
This commit is contained in:
@ -158,7 +158,7 @@ static void CPCallback(u64 userdata, int cyclesLate)
|
||||
static void DecrementerCallback(u64 userdata, int cyclesLate)
|
||||
{
|
||||
PowerPC::ppcState.spr[SPR_DEC] = 0xFFFFFFFF;
|
||||
Common::AtomicOr(PowerPC::ppcState.Exceptions, EXCEPTION_DECREMENTER);
|
||||
PowerPC::ppcState.Exceptions |= EXCEPTION_DECREMENTER;
|
||||
}
|
||||
|
||||
void DecrementerSet()
|
||||
|
Reference in New Issue
Block a user