diff options
Diffstat (limited to 'src/mame/drivers/1942.c')
-rw-r--r-- | src/mame/drivers/1942.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/1942.c b/src/mame/drivers/1942.c index 55af70c9706..595062ebb98 100644 --- a/src/mame/drivers/1942.c +++ b/src/mame/drivers/1942.c @@ -79,10 +79,10 @@ static TIMER_DEVICE_CALLBACK( c1942_scanline ) int scanline = param; if(scanline == 240) // vblank-out irq - cputag_set_input_line_and_vector(timer.machine(), "maincpu", 0, HOLD_LINE, 0xd7); /* RST 10h - vblank */ + timer.machine().device("maincpu")->execute().set_input_line_and_vector(0, HOLD_LINE, 0xd7); /* RST 10h - vblank */ if(scanline == 0) // unknown irq event, presumably vblank-in or a periodic one (writes to the soundlatch and drives freeze dip-switch) - cputag_set_input_line_and_vector(timer.machine(), "maincpu", 0, HOLD_LINE, 0xcf); /* RST 08h */ + timer.machine().device("maincpu")->execute().set_input_line_and_vector(0, HOLD_LINE, 0xcf); /* RST 08h */ } |