From e1c7c8bb97b44c97ffdd91d722bc59d3fa8586b2 Mon Sep 17 00:00:00 2001 From: AJR Date: Sun, 28 Jan 2018 09:52:02 -0500 Subject: [PATCH] tms9927: Fix excessive sync width after recomputing parameters during sync --- src/devices/video/tms9927.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/devices/video/tms9927.cpp b/src/devices/video/tms9927.cpp index 3380ad2c48c..720889a3ed5 100644 --- a/src/devices/video/tms9927.cpp +++ b/src/devices/video/tms9927.cpp @@ -371,8 +371,12 @@ void tms9927_device::recompute_parameters(bool postload) m_hsyn = false; if (!m_write_hsyn.isnull()) + { + m_write_hsyn(0); m_hsync_timer->adjust(screen().time_until_pos(m_vsyn_start, m_hsyn_start)); + } m_vsyn = false; + m_write_vsyn(0); m_vsync_timer->adjust(screen().time_until_pos(m_vsyn_start, m_hsyn_start)); }