From efa2fb25be9a824767b5bd506496a903ea864793 Mon Sep 17 00:00:00 2001 From: cracyc Date: Sun, 22 Sep 2024 21:44:57 -0500 Subject: [PATCH] x68k: further adjust vblank irq --- src/mame/sharp/x68k_crtc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mame/sharp/x68k_crtc.cpp b/src/mame/sharp/x68k_crtc.cpp index 6614075d07f..f86dfc13d40 100644 --- a/src/mame/sharp/x68k_crtc.cpp +++ b/src/mame/sharp/x68k_crtc.cpp @@ -278,7 +278,7 @@ TIMER_CALLBACK_MEMBER(x68k_crtc_device::vblank_irq) if (val == 0) // V-DISP off { m_vblank = 0; - vblank_line = m_vend + 1; + vblank_line = m_vend + (gfx_double_scan() ? 2 : 1); if (vblank_line > m_vtotal) vblank_line = m_vtotal; irq_time = screen().time_until_pos(vblank_line, 2);