summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/genpin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/genpin.cpp')
-rw-r--r--src/mame/machine/genpin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/machine/genpin.cpp b/src/mame/machine/genpin.cpp
index 2acf31e5506..c35073f09ee 100644
--- a/src/mame/machine/genpin.cpp
+++ b/src/mame/machine/genpin.cpp
@@ -13,7 +13,7 @@ This is for common pinball machine coding.
MACHINE_CONFIG_START(genpin_class::genpin_audio)
MCFG_SPEAKER_STANDARD_MONO("mechvol")
- MCFG_SOUND_ADD("samples", SAMPLES, 0)
+ MCFG_DEVICE_ADD("samples", SAMPLES)
MCFG_SAMPLES_CHANNELS(6)
MCFG_SAMPLES_NAMES(genpin_sample_names)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mechvol", 1.0)