CPU: Fixed ClearIrqSource setting the irq instead of clearing it

A lot more games booting and getting in-game now
This commit is contained in:
Sour 2019-02-20 20:50:43 -05:00
parent 0b757f6fad
commit fb8a9f18ed

View file

@ -107,7 +107,7 @@ bool Cpu::CheckIrqSource(IrqSource source)
void Cpu::ClearIrqSource(IrqSource source)
{
_irqSource |= (uint8_t)source;
_irqSource &= ~(uint8_t)source;
}
uint32_t Cpu::GetProgramAddress(uint16_t addr)