diff options
author | 2018-08-11 15:00:54 +0200 | |
---|---|---|
committer | 2018-08-11 15:01:20 +0200 | |
commit | d5d598a1c021c19e992e5f4cd8f56aa8c697076e (patch) | |
tree | 3deeca26e7b770f0140041a1902d3b9bee21f6f4 /src/devices/sound/es8712.cpp | |
parent | 543e49cc2443e3ab531168ec80e93dd3afeea795 (diff) |
-7200fifo, 7400, 7404, 74123, 74145, 74148, 74153, 74157, 74161, 74259: [Ryan Holtz]
* Removed MCFG and old devcb macros.
AJR, any breakage? nw
Diffstat (limited to 'src/devices/sound/es8712.cpp')
-rw-r--r-- | src/devices/sound/es8712.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/sound/es8712.cpp b/src/devices/sound/es8712.cpp index 9440bd7ce60..e0b2699edd0 100644 --- a/src/devices/sound/es8712.cpp +++ b/src/devices/sound/es8712.cpp @@ -57,10 +57,11 @@ es8712_device::es8712_device(const machine_config &mconfig, const char *tag, dev // configuration addiitons //------------------------------------------------- -MACHINE_CONFIG_START(es8712_device::device_add_mconfig) - MCFG_DEVICE_ADD("adpcm_select", HCT157, 0) // TODO : gcpinbal case, differs per games? - MCFG_74157_OUT_CB(WRITE8(*this, es8712_device, msm_w)) -MACHINE_CONFIG_END +void es8712_device::device_add_mconfig(machine_config &config) +{ + HCT157(config, m_adpcm_select, 0); // TODO : gcpinbal case, differs per games? + m_adpcm_select->out_callback().set(FUNC(es8712_device::msm_w)); +} //------------------------------------------------- |