summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/oneshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/oneshot.cpp')
-rw-r--r--src/mame/drivers/oneshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/oneshot.cpp b/src/mame/drivers/oneshot.cpp
index 09f84346b04..d7a3e8860b1 100644
--- a/src/mame/drivers/oneshot.cpp
+++ b/src/mame/drivers/oneshot.cpp
@@ -388,7 +388,7 @@ MACHINE_CONFIG_START(oneshot_state::oneshot)
SPEAKER(config, "mono").front_center();
- MCFG_GENERIC_LATCH_8_ADD("soundlatch")
+ GENERIC_LATCH_8(config, "soundlatch");
MCFG_DEVICE_ADD("ymsnd", YM3812, 3500000)
MCFG_YM3812_IRQ_HANDLER(INPUTLINE("audiocpu", 0))