summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/twin16.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/twin16.cpp')
-rw-r--r--src/mame/video/twin16.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mame/video/twin16.cpp b/src/mame/video/twin16.cpp
index e5233f19876..03421242f46 100644
--- a/src/mame/video/twin16.cpp
+++ b/src/mame/video/twin16.cpp
@@ -564,5 +564,11 @@ WRITE_LINE_MEMBER(twin16_state::screen_vblank_twin16)
else {
m_spriteram->copy();
}
+
+ // IRQ generation
+ if (m_CPUA_register & 0x20)
+ m_maincpu->set_input_line(5, HOLD_LINE);
+ if (m_subcpu.found() && (m_CPUB_register & 0x02))
+ m_subcpu->set_input_line(5, HOLD_LINE);
}
}