summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/exprraid.cpp
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2016-05-20 07:24:06 +0200
committer Ivan Vangelista <mesgnet@yahoo.it>2016-05-20 07:24:06 +0200
commit6711db7107329da894754887ec4ab426945455cb (patch)
tree659303ba9a1fbd0a244dbe637fa9794f03fe0128 /src/mame/drivers/exprraid.cpp
parentec1f9b948c496535c89eaa70e65f38ae6ab34f10 (diff)
More gen_latch (nw)
Diffstat (limited to 'src/mame/drivers/exprraid.cpp')
-rw-r--r--src/mame/drivers/exprraid.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mame/drivers/exprraid.cpp b/src/mame/drivers/exprraid.cpp
index dc70f742ec8..beb88a4cb1c 100644
--- a/src/mame/drivers/exprraid.cpp
+++ b/src/mame/drivers/exprraid.cpp
@@ -263,12 +263,12 @@ WRITE8_MEMBER(exprraid_state::exprraid_prot_data_w)
READ8_MEMBER(exprraid_state::sound_cpu_command_r)
{
m_slave->set_input_line(INPUT_LINE_NMI, CLEAR_LINE);
- return soundlatch_byte_r(space, 0);
+ return m_soundlatch->read(space, 0);
}
WRITE8_MEMBER(exprraid_state::sound_cpu_command_w)
{
- soundlatch_byte_w(space, 0, data);
+ m_soundlatch->write(space, 0, data);
m_slave->set_input_line(INPUT_LINE_NMI, ASSERT_LINE);
}
@@ -525,6 +525,8 @@ static MACHINE_CONFIG_START( exprraid, exprraid_state )
/* sound hardware */
MCFG_SPEAKER_STANDARD_MONO("mono")
+ MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+
MCFG_SOUND_ADD("ym1", YM2203, XTAL_12MHz / 8)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.30)