summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/ajax.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/ajax.cpp')
-rw-r--r--src/mame/drivers/ajax.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/ajax.cpp b/src/mame/drivers/ajax.cpp
index ba700056cf7..6f6113ae314 100644
--- a/src/mame/drivers/ajax.cpp
+++ b/src/mame/drivers/ajax.cpp
@@ -217,7 +217,7 @@ MACHINE_CONFIG_START(ajax_state::ajax)
SPEAKER(config, "lspeaker").front_left();
SPEAKER(config, "rspeaker").front_right();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ GENERIC_LATCH_8(config, m_soundlatch);
MCFG_DEVICE_ADD("ymsnd", YM2151, 3579545)
MCFG_SOUND_ROUTE(0, "lspeaker", 1.0)