diff options
Diffstat (limited to 'src/mess/machine/c65.c')
-rw-r--r-- | src/mess/machine/c65.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/machine/c65.c b/src/mess/machine/c65.c index 667f78ca0a0..d6cd32ea156 100644 --- a/src/mess/machine/c65.c +++ b/src/mess/machine/c65.c @@ -47,7 +47,7 @@ static void c65_nmi( running_machine &machine ) if (state->m_nmilevel != (machine.root_device().ioport("SPECIAL")->read() & 0x80) || cia1irq) /* KEY_RESTORE */ { - cputag_set_input_line(machine, "maincpu", INPUT_LINE_NMI, (machine.root_device().ioport("SPECIAL")->read() & 0x80) || cia1irq); + machine.device("maincpu")->execute().set_input_line(INPUT_LINE_NMI, (machine.root_device().ioport("SPECIAL")->read() & 0x80) || cia1irq); state->m_nmilevel = (machine.root_device().ioport("SPECIAL")->read() & 0x80) || cia1irq; } @@ -104,7 +104,7 @@ static void c65_irq( running_machine &machine, int level ) if (level != state->m_old_level) { DBG_LOG(machine, 3, "mos6510", ("irq %s\n", level ? "start" : "end")); - cputag_set_input_line(machine, "maincpu", M6510_IRQ_LINE, level); + machine.device("maincpu")->execute().set_input_line(M6510_IRQ_LINE, level); state->m_old_level = level; } } |