summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/cocoloco.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/cocoloco.cpp')
-rw-r--r--src/mame/drivers/cocoloco.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/drivers/cocoloco.cpp b/src/mame/drivers/cocoloco.cpp
index 446051c41e5..5e7bcdaccd6 100644
--- a/src/mame/drivers/cocoloco.cpp
+++ b/src/mame/drivers/cocoloco.cpp
@@ -537,9 +537,9 @@ MACHINE_CONFIG_START(cocoloco_state::cocoloco)
/* NETLIST configuration using internal AY8910 resistor values */
- auto &snd_nl(NETLIST_SOUND(config, "snd_nl", 48000));
- snd_nl.set_constructor(NETLIST_NAME(nl_cocoloco));
- snd_nl.add_route(ALL_OUTPUTS, "mono", 1.0);
+ NETLIST_SOUND(config, "snd_nl", 48000)
+ .set_source(NETLIST_NAME(nl_cocoloco))
+ .add_route(ALL_OUTPUTS, "mono", 1.0);
NETLIST_STREAM_INPUT(config, "snd_nl:cin0", 0, "R_AY1_1.R");
NETLIST_STREAM_INPUT(config, "snd_nl:cin1", 1, "R_AY1_2.R");