summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/audio/cinemat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/audio/cinemat.cpp')
-rw-r--r--src/mame/audio/cinemat.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mame/audio/cinemat.cpp b/src/mame/audio/cinemat.cpp
index e522219264c..45f203c63f6 100644
--- a/src/mame/audio/cinemat.cpp
+++ b/src/mame/audio/cinemat.cpp
@@ -1400,8 +1400,8 @@ MACHINE_CONFIG_START(demon_state::demon_sound)
audiocpu.set_addrmap(AS_PROGRAM, &demon_state::demon_sound_map);
audiocpu.set_addrmap(AS_IO, &demon_state::demon_sound_ports);
- MCFG_DEVICE_ADD("ctc", Z80CTC, 3579545 /* same as "audiocpu" */)
- MCFG_Z80CTC_INTR_CB(INPUTLINE("audiocpu", INPUT_LINE_IRQ0))
+ z80ctc_device& ctc(Z80CTC(config, "ctc", 3579545 /* same as "audiocpu" */));
+ ctc.intr_callback().set_inputline("audiocpu", INPUT_LINE_IRQ0);
m_outlatch->q_out_cb<4>().set(FUNC(demon_state::demon_sound4_w));
@@ -1418,8 +1418,6 @@ MACHINE_CONFIG_START(demon_state::demon_sound)
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MCFG_DEVICE_ADD("ay3", AY8910, 3579545)
-
-
MCFG_AY8910_PORT_B_WRITE_CB(WRITE8(*this, demon_state, sound_output_w))
MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.25)
MACHINE_CONFIG_END