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:
parent
0b757f6fad
commit
fb8a9f18ed
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue