summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author smf- <smf-@users.noreply.github.com>2013-11-03 11:51:29 +0000
committer smf- <smf-@users.noreply.github.com>2013-11-03 11:51:29 +0000
commit77fe42edebe3cf1d33ec5c95b80b13797a388cfc (patch)
treefb8993446f958c5cd890a9176beba63bf376de0b
parent98d013264fc5064be1d698032355da6d1ecd5206 (diff)
call update_irq() after updating B & C register in device_reset (nw)
-rw-r--r--src/emu/machine/mc146818.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/emu/machine/mc146818.c b/src/emu/machine/mc146818.c
index 626abfabb21..a09ac1a1e87 100644
--- a/src/emu/machine/mc146818.c
+++ b/src/emu/machine/mc146818.c
@@ -73,6 +73,8 @@ void mc146818_device::device_reset()
{
m_data[REG_B] &= ~(REG_B_UIE | REG_B_AIE | REG_B_PIE | REG_B_SQWE);
m_data[REG_C] = 0;
+
+ update_irq();
}
//-------------------------------------------------