summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/gauntlet.c
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2013-04-11 08:40:07 +0000
committer Miodrag Milanovic <mmicko@gmail.com>2013-04-11 08:40:07 +0000
commit415ccecb5fd028715c8f2aec1c73d8ce5d687c60 (patch)
tree796d20642e80e8c6a2401d8413463a6368ecdc9f /src/mame/drivers/gauntlet.c
parent3d0285d974554a921fc13c5e2000945af9b4757c (diff)
changed machine().device("audiocpu") with m_maincpu (nw)
Diffstat (limited to 'src/mame/drivers/gauntlet.c')
-rw-r--r--src/mame/drivers/gauntlet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/gauntlet.c b/src/mame/drivers/gauntlet.c
index ef1e0f48790..efc49936c4c 100644
--- a/src/mame/drivers/gauntlet.c
+++ b/src/mame/drivers/gauntlet.c
@@ -202,7 +202,7 @@ WRITE16_MEMBER(gauntlet_state::sound_reset_w)
if ((oldword ^ m_sound_reset_val) & 1)
{
- machine().device("audiocpu")->execute().set_input_line(INPUT_LINE_RESET, (m_sound_reset_val & 1) ? CLEAR_LINE : ASSERT_LINE);
+ m_audiocpu->set_input_line(INPUT_LINE_RESET, (m_sound_reset_val & 1) ? CLEAR_LINE : ASSERT_LINE);
sound_cpu_reset();
if (m_sound_reset_val & 1)
{