summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/eolith.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/drivers/eolith.c
parent415ccecb5fd028715c8f2aec1c73d8ce5d687c60 (diff)
changed machine().device("soundcpu") with m_soundcpu (nw)
Diffstat (limited to 'src/mame/drivers/eolith.c')
-rw-r--r--src/mame/drivers/eolith.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/eolith.c b/src/mame/drivers/eolith.c
index b48ad5f4781..986520d66d4 100644
--- a/src/mame/drivers/eolith.c
+++ b/src/mame/drivers/eolith.c
@@ -1469,7 +1469,7 @@ ROM_END
MACHINE_RESET_MEMBER(eolith_state,eolith)
{
- machine().device("soundcpu")->execute().set_input_line(MCS51_INT1_LINE, ASSERT_LINE);
+ m_soundcpu->set_input_line(MCS51_INT1_LINE, ASSERT_LINE);
}
DRIVER_INIT_MEMBER(eolith_state,eolith)
@@ -1477,7 +1477,7 @@ DRIVER_INIT_MEMBER(eolith_state,eolith)
init_eolith_speedup(machine());
// Sound CPU -> QS1000 CPU serial link
- i8051_set_serial_tx_callback(machine().device("soundcpu"), write8_delegate(FUNC(eolith_state::soundcpu_to_qs1000),this));
+ i8051_set_serial_tx_callback(m_soundcpu, write8_delegate(FUNC(eolith_state::soundcpu_to_qs1000),this));
// Configure the sound ROM banking
membank("sound_bank")->configure_entries(0, 16, memregion("sounddata")->base(), 0x8000);