Update MMC3.h
Fixes failing MMC3 IRQ Tests by blargg. IRQ shouldn't occur when reloading after counter normally reaches 0
This commit is contained in:
parent
725e2ba466
commit
c16d0ac8b3
1 changed files with 1 additions and 1 deletions
|
@ -278,7 +278,7 @@ class MMC3 : public BaseMapper
|
|||
|
||||
if(ForceMmc3RevAIrqs() || _console->GetSettings()->CheckFlag(EmulationFlags::Mmc3IrqAltBehavior)) {
|
||||
//MMC3 Revision A behavior
|
||||
if((count > 0 || _irqReload) && _irqCounter == 0 && _irqEnabled) {
|
||||
if(((count > 0 && _irqReloadValue > 0) || _irqReload) && _irqCounter == 0 && _irqEnabled) {
|
||||
TriggerIrq();
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Add table
Reference in a new issue