diff options
author | 2017-06-09 12:48:45 +0200 | |
---|---|---|
committer | 2017-06-09 12:48:45 +0200 | |
commit | e844b01154f1d57c9736b37c085ea0b9bbb15acb (patch) | |
tree | 272d3ad1d7c9562f8c01809ab3daaafc9442435a /src/devices/bus/isa/adlib.cpp | |
parent | 0b546073e758e33abb12e738ab12aaf1377f2a3e (diff) |
device_add_mconfig up to devices/bus/l* (nw)
Diffstat (limited to 'src/devices/bus/isa/adlib.cpp')
-rw-r--r-- | src/devices/bus/isa/adlib.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/devices/bus/isa/adlib.cpp b/src/devices/bus/isa/adlib.cpp index d9ce293e1c8..a82e5d63d7b 100644 --- a/src/devices/bus/isa/adlib.cpp +++ b/src/devices/bus/isa/adlib.cpp @@ -15,12 +15,6 @@ #define ym3812_StdClock 3579545 -static MACHINE_CONFIG_START( adlib_config ) - MCFG_SPEAKER_STANDARD_MONO("mono") - MCFG_SOUND_ADD("ym3812", YM3812, ym3812_StdClock) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 3.00) -MACHINE_CONFIG_END - READ8_MEMBER( isa8_adlib_device::ym3812_16_r ) { uint8_t retVal = 0xff; @@ -47,14 +41,14 @@ WRITE8_MEMBER( isa8_adlib_device::ym3812_16_w ) DEFINE_DEVICE_TYPE(ISA8_ADLIB, isa8_adlib_device, "isa_adlib", "Ad Lib Sound Card") //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- -machine_config_constructor isa8_adlib_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( adlib_config ); -} +MACHINE_CONFIG_MEMBER( isa8_adlib_device::device_add_mconfig ) + MCFG_SPEAKER_STANDARD_MONO("mono") + MCFG_SOUND_ADD("ym3812", YM3812, ym3812_StdClock) + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 3.00) +MACHINE_CONFIG_END //************************************************************************** // LIVE DEVICE |