summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2020-12-03 22:52:05 -0500
committerGravatarGravatar AJR <ajrhacker@users.noreply.github.com>2020-12-03 22:52:05 -0500
commitd0fb38685692760a5f2ec5ac6d366d4afcc8aaf2 (patch)
tree61850aedad6b0b4108e8fc702b72b75303bbf050
parent86f630f1dfe5939e93b65965526f7cdb82fd1958 (diff)
tms9928a: Fix failure to output initial interrupt state
-rw-r--r--src/devices/video/tms9928a.cpp4
1 files changed, 3 insertions, 1 deletions
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 ) );