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:
magumagu
2015-01-30 15:05:50 -08:00
parent 47be9d8e6b
commit 30d15b3a32
10 changed files with 29 additions and 31 deletions

View File

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