summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/midyunit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/midyunit.cpp')
-rw-r--r--src/mame/drivers/midyunit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/midyunit.cpp b/src/mame/drivers/midyunit.cpp
index 699063c0d03..c5d9035e761 100644
--- a/src/mame/drivers/midyunit.cpp
+++ b/src/mame/drivers/midyunit.cpp
@@ -1278,7 +1278,7 @@ MACHINE_CONFIG_START(midyunit_state::mkyawdim)
/* sound hardware */
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ GENERIC_LATCH_8(config, m_soundlatch);
MCFG_DEVICE_ADD("oki", OKIM6295, XTAL(8'000'000) / 8, okim6295_device::PIN7_HIGH)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "speaker", 1.0)