From 0873030af5aa52ace74da7c3109d68092196f84d Mon Sep 17 00:00:00 2001 From: cracyc Date: Mon, 4 Sep 2023 11:07:09 -0500 Subject: x68k: only set timer if op is set --- src/mame/sharp/x68k_crtc.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/mame/sharp/x68k_crtc.cpp b/src/mame/sharp/x68k_crtc.cpp index 4ca15570ab1..1f8606e9d69 100644 --- a/src/mame/sharp/x68k_crtc.cpp +++ b/src/mame/sharp/x68k_crtc.cpp @@ -455,9 +455,8 @@ void x68k_crtc_device::crtc_w(offs_t offset, u16 data, u16 mem_mask) } } } - } - m_operation_end_timer->adjust(attotime::from_msec(5), 0x02); // time taken to do operation is a complete guess. + if (data & 0x02) m_operation_end_timer->adjust(attotime::from_msec(5), 0x02); // time taken to do operation is a complete guess. break; } // LOG("%s CRTC: Wrote %04x to CRTC register %i\n",machine().describe_context(), data, offset); -- cgit v1.2.3