From d0fb38685692760a5f2ec5ac6d366d4afcc8aaf2 Mon Sep 17 00:00:00 2001 From: AJR Date: Thu, 3 Dec 2020 22:52:05 -0500 Subject: tms9928a: Fix failure to output initial interrupt state --- src/devices/video/tms9928a.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/devices/video/tms9928a.cpp b/src/devices/video/tms9928a.cpp index 27395fecacb..13b46c1592a 100644 --- a/src/devices/video/tms9928a.cpp +++ b/src/devices/video/tms9928a.cpp @@ -740,6 +740,8 @@ void tms9928a_device::device_start() m_line_timer = timer_alloc(TIMER_LINE); m_gromclk_timer = timer_alloc(GROMCLK); + m_INT = 1; // force initial update + set_palette(); save_item(NAME(m_Regs[0])); @@ -784,9 +786,9 @@ void tms9928a_device::device_reset() m_patternmask = 0x3fff; m_Addr = 0; m_ReadAhead = 0; - m_INT = 0; m_latch = 0; m_mode = 0; + check_interrupt(); m_line_timer->adjust( screen().time_until_pos( 0, HORZ_DISPLAY_START ) ); -- cgit v1.2.3