summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author ajrhacker <ajrhacker@users.noreply.github.com>2017-10-06 19:34:22 -0400
committer GitHub <noreply@github.com>2017-10-06 19:34:22 -0400
commit83a7019e8a33bdd420850ab7fe3b88cbc77efdf9 (patch)
tree0a466dd70d07cceb44e6aa00da138f0283dd7068
parent6460f2bbecddeaec976ec157c5ae12ef18b9bea8 (diff)
parentae4fc1fcbfb3fc4b6af482a4a4ae67697cb9a848 (diff)
Merge pull request #2703 from jfdelnero/master
Fix main interrupt flag.
-rw-r--r--src/devices/machine/mc146818.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/mc146818.cpp b/src/devices/machine/mc146818.cpp
index c55935b3184..4cdb4f37b5e 100644
--- a/src/devices/machine/mc146818.cpp
+++ b/src/devices/machine/mc146818.cpp
@@ -489,7 +489,7 @@ void mc146818_device::update_irq()
}
else
{
- m_data[REG_C] &= REG_C_IRQF;
+ m_data[REG_C] &= ~REG_C_IRQF;
m_write_irq(ASSERT_LINE);
}
}