diff options
Diffstat (limited to 'src/devices/bus/a2bus/a2echoii.cpp')
-rw-r--r-- | src/devices/bus/a2bus/a2echoii.cpp | 18 |
1 files changed, 6 insertions, 12 deletions
diff --git a/src/devices/bus/a2bus/a2echoii.cpp b/src/devices/bus/a2bus/a2echoii.cpp index 80d722c5806..124f15e4214 100644 --- a/src/devices/bus/a2bus/a2echoii.cpp +++ b/src/devices/bus/a2bus/a2echoii.cpp @@ -25,25 +25,19 @@ DEFINE_DEVICE_TYPE(A2BUS_ECHOII, a2bus_echoii_device, "a2echoii", "Street Electr #define TMS_TAG "tms5220" -MACHINE_CONFIG_START( a2echoii ) - MCFG_SPEAKER_STANDARD_MONO("echoii") - MCFG_SOUND_ADD(TMS_TAG, TMS5220, 640000) // Note the Echo II card has a "FREQ" potentiometer which can be used to adjust the tms5220's clock frequency; 640khz is the '8khz' value according to the tms5220 datasheet - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "echoii", 1.0) -MACHINE_CONFIG_END - /*************************************************************************** FUNCTION PROTOTYPES ***************************************************************************/ //------------------------------------------------- -// machine_config_additions - device-specific -// machine configurations +// device_add_mconfig - add device configuration //------------------------------------------------- -machine_config_constructor a2bus_echoii_device::device_mconfig_additions() const -{ - return MACHINE_CONFIG_NAME( a2echoii ); -} +MACHINE_CONFIG_MEMBER( a2bus_echoii_device::device_add_mconfig ) + MCFG_SPEAKER_STANDARD_MONO("echoii") + MCFG_SOUND_ADD(TMS_TAG, TMS5220, 640000) // Note the Echo II card has a "FREQ" potentiometer which can be used to adjust the tms5220's clock frequency; 640khz is the '8khz' value according to the tms5220 datasheet + MCFG_SOUND_ROUTE(ALL_OUTPUTS, "echoii", 1.0) +MACHINE_CONFIG_END //************************************************************************** // LIVE DEVICE |