summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/battlex.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/battlex.c')
-rw-r--r--src/mame/drivers/battlex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/battlex.c b/src/mame/drivers/battlex.c
index 70325390cb0..6f101c1a99d 100644
--- a/src/mame/drivers/battlex.c
+++ b/src/mame/drivers/battlex.c
@@ -60,7 +60,7 @@ CUSTOM_INPUT_MEMBER(battlex_state::battlex_in0_b4_r)
UINT32 ret = m_in0_b4;
if (m_in0_b4)
{
- cputag_set_input_line(machine(), "maincpu", 0, CLEAR_LINE);
+ machine().device("maincpu")->execute().set_input_line(0, CLEAR_LINE);
m_in0_b4 = 0;
}