From 14daf14a87a5a196f64e474f16a03382a3118a92 Mon Sep 17 00:00:00 2001 From: hap Date: Wed, 14 Feb 2024 12:09:33 +0100 Subject: h8_intc: don't clear irq pin inputs at reset --- src/devices/cpu/h8/h8_intc.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/devices/cpu/h8/h8_intc.cpp b/src/devices/cpu/h8/h8_intc.cpp index c3b4934cdc1..e95fc42fc7e 100644 --- a/src/devices/cpu/h8/h8_intc.cpp +++ b/src/devices/cpu/h8/h8_intc.cpp @@ -54,8 +54,9 @@ void h8_intc_device::device_reset() memset(m_irq_type, 0, sizeof(m_irq_type)); m_nmi_type = EDGE_FALL; memset(m_pending_irqs, 0, sizeof(m_pending_irqs)); - m_ier = m_isr = m_irq_input = 0x00; m_iscr = 0x0000; + m_ier = m_isr = 0x00; + check_level_irqs(false); } int h8_intc_device::interrupt_taken(int vector) -- cgit v1.2.3