summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/dc.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-12 03:35:06 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-12 03:35:06 +0000
commit0ef1e6deb4923b27f4c1d95825e453f565b129a3 (patch)
treeaa3054f8acec99e6e5442359c8adcd88a3283bab /src/mame/machine/dc.c
parentcd5dcbacd973e855f0b4f5c522334279ff63930b (diff)
Closeout on old macros. Retired cputag_set_input_line
and cputag_set_input_line_and_vector, replacing them with machine.device("tag")->execute().set_input_line[_and_vector]. [Aaron Giles]
Diffstat (limited to 'src/mame/machine/dc.c')
-rw-r--r--src/mame/machine/dc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/machine/dc.c b/src/mame/machine/dc.c
index b5c6205987d..361d3fe62e5 100644
--- a/src/mame/machine/dc.c
+++ b/src/mame/machine/dc.c
@@ -826,7 +826,7 @@ MACHINE_RESET( dc )
dc_state *state = machine.driver_data<dc_state>();
/* halt the ARM7 */
- cputag_set_input_line(machine, "soundcpu", INPUT_LINE_RESET, ASSERT_LINE);
+ machine.device("soundcpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
memset(state->dc_sysctrl_regs, 0, sizeof(state->dc_sysctrl_regs));
@@ -863,12 +863,12 @@ WRITE64_DEVICE_HANDLER( dc_aica_reg_w )
if (dat & 1)
{
/* halt the ARM7 */
- cputag_set_input_line(device->machine(), "soundcpu", INPUT_LINE_RESET, ASSERT_LINE);
+ device->machine().device("soundcpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
}
else
{
/* it's alive ! */
- cputag_set_input_line(device->machine(), "soundcpu", INPUT_LINE_RESET, CLEAR_LINE);
+ device->machine().device("soundcpu")->execute().set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
}
}