diff options
Diffstat (limited to 'src/mame/drivers/targeth.c')
-rw-r--r-- | src/mame/drivers/targeth.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/targeth.c b/src/mame/drivers/targeth.c index ffaa59318e2..95977691de9 100644 --- a/src/mame/drivers/targeth.c +++ b/src/mame/drivers/targeth.c @@ -37,15 +37,15 @@ static TIMER_DEVICE_CALLBACK(targeth_interrupt ) if(scanline == 240) { /* IRQ 2: drives the game */ - device_set_input_line(state->m_maincpu, 2, HOLD_LINE); + state->m_maincpu->set_input_line(2, HOLD_LINE); } if(scanline == 0) { /* IRQ 4: Read 1P Gun */ - device_set_input_line(state->m_maincpu, 4, HOLD_LINE); + state->m_maincpu->set_input_line(4, HOLD_LINE); /* IRQ 6: Read 2P Gun */ - device_set_input_line(state->m_maincpu, 6, HOLD_LINE); + state->m_maincpu->set_input_line(6, HOLD_LINE); } } |