From 0a8fc5ff0b6f6f18887c591faf69d63e16b9c5a4 Mon Sep 17 00:00:00 2001 From: AmatCoder Date: Tue, 12 Mar 2019 07:58:31 +0100 Subject: mc6845.cpp: Check for vsync on frame reset only if vsync witdh is supported Regression caused by 12d8a146 (see comments there). --- src/devices/video/mc6845.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/devices/video/mc6845.cpp b/src/devices/video/mc6845.cpp index 7cec011be11..82ec8408130 100644 --- a/src/devices/video/mc6845.cpp +++ b/src/devices/video/mc6845.cpp @@ -741,8 +741,11 @@ void mc6845_device::handle_line_timer() m_line_address = m_disp_start_addr; m_line_enable_ff = true; - if (match_line()) - new_vsync = true; + if (m_supports_vert_sync_width) + { + if (match_line()) + new_vsync = true; + } /* also update the cursor state now */ update_cursor_state(); -- cgit v1.2.3