summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/drivers/ex800.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/drivers/ex800.c')
-rw-r--r--src/mess/drivers/ex800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/drivers/ex800.c b/src/mess/drivers/ex800.c
index 3111fc44250..11e4c3c87cf 100644
--- a/src/mess/drivers/ex800.c
+++ b/src/mess/drivers/ex800.c
@@ -196,7 +196,7 @@ static INPUT_CHANGED( online_switch )
ex800_state *state = field.machine().driver_data<ex800_state>();
if (newval)
{
- cputag_set_input_line(field.machine(), "maincpu", UPD7810_INTF1, state->m_irq_state);
+ field.machine().device("maincpu")->execute().set_input_line(UPD7810_INTF1, state->m_irq_state);
state->m_irq_state = (state->m_irq_state == ASSERT_LINE) ? CLEAR_LINE : ASSERT_LINE;
}
}