summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/dc.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-11 09:19:49 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-11 09:19:49 +0000
commitc62cc05f9624b1b33fb796edde41f67d5c4ee432 (patch)
treee7376c4594509f0e5a15877c0ecd173988ad8cbf /src/mame/machine/dc.c
parent415ccecb5fd028715c8f2aec1c73d8ce5d687c60 (diff)
changed machine().device("soundcpu") with m_soundcpu (nw)
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 d27f25c6f95..709a2de3b2c 100644
--- a/src/mame/machine/dc.c
+++ b/src/mame/machine/dc.c
@@ -789,7 +789,7 @@ void dc_state::machine_start()
void dc_state::machine_reset()
{
/* halt the ARM7 */
- machine().device("soundcpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
+ m_soundcpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
memset(dc_sysctrl_regs, 0, sizeof(dc_sysctrl_regs));
@@ -824,12 +824,12 @@ WRITE64_MEMBER(dc_state::dc_aica_reg_w)
if (dat & 1)
{
/* halt the ARM7 */
- machine().device("soundcpu")->execute().set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
+ m_soundcpu->set_input_line(INPUT_LINE_RESET, ASSERT_LINE);
}
else
{
/* it's alive ! */
- machine().device("soundcpu")->execute().set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
+ m_soundcpu->set_input_line(INPUT_LINE_RESET, CLEAR_LINE);
}
}