summaryrefslogtreecommitdiffstats
path: root/src/mame/drivers/exprraid.cpp
diff options
context:
space:
mode:
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)