From 41db949ae3541ddfaf0b3f38fd81f3dfd2686af4 Mon Sep 17 00:00:00 2001 From: AJR Date: Mon, 20 Mar 2023 15:09:25 -0400 Subject: mc68hc11: Fix STOP recovery again --- src/devices/cpu/mc68hc11/mc68hc11.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/devices/cpu/mc68hc11/mc68hc11.cpp b/src/devices/cpu/mc68hc11/mc68hc11.cpp index 948f00cd273..397604ee4ef 100644 --- a/src/devices/cpu/mc68hc11/mc68hc11.cpp +++ b/src/devices/cpu/mc68hc11/mc68hc11.cpp @@ -1178,7 +1178,7 @@ void mc68hc11_cpu_device::check_irq_lines() if (level < 0x06) m_ccr |= CC_X; if(m_wait_state == 1) { m_wait_state = 0; } - if(m_stop_state == 1) { m_stop_state = 0; } + if(m_stop_state == 1) { m_stop_state = 2; } if (level < 0x05 || (level == 0x06 && BIT(m_option, 5))) set_irq_state(level, false); // auto-ack edge-triggered IRQ } -- cgit v1.2.3