summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/vectrex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/vectrex.c')
-rw-r--r--src/mame/video/vectrex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/vectrex.c b/src/mame/video/vectrex.c
index 326e4d51035..6400e5bf3c6 100644
--- a/src/mame/video/vectrex.c
+++ b/src/mame/video/vectrex.c
@@ -83,7 +83,7 @@ static TIMER_CALLBACK(lightpen_trigger)
if (state->m_lightpen_port & 2)
{
- cputag_set_input_line(machine, "maincpu", M6809_FIRQ_LINE, PULSE_LINE);
+ machine.device("maincpu")->execute().set_input_line(M6809_FIRQ_LINE, PULSE_LINE);
}
}