diff options
author | 2019-02-10 10:00:52 +0100 | |
---|---|---|
committer | 2019-02-10 10:00:52 +0100 | |
commit | fea0d694b379f9cd84dcf3095c4f996ebcbe9995 (patch) | |
tree | cd3ef4237ddce4f57fc9e9497e1a168ec51ab8d7 /src/devices/bus/abckb/abc77.cpp | |
parent | d98dda930b55354eb7ddc3b3875d1f946eafd158 (diff) |
devices\bus: some more MACHINE_CONFIG removal (nw)
Diffstat (limited to 'src/devices/bus/abckb/abc77.cpp')
-rw-r--r-- | src/devices/bus/abckb/abc77.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/abckb/abc77.cpp b/src/devices/bus/abckb/abc77.cpp index 87acedf4fb8..996a5af23c9 100644 --- a/src/devices/bus/abckb/abc77.cpp +++ b/src/devices/bus/abckb/abc77.cpp @@ -129,7 +129,8 @@ DISCRETE_SOUND_END // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(abc77_device::device_add_mconfig) +void abc77_device::device_add_mconfig(machine_config &config) +{ // keyboard cpu I8035(config, m_maincpu, XTAL(4'608'000)); m_maincpu->set_addrmap(AS_PROGRAM, &abc77_device::abc77_map); @@ -144,9 +145,8 @@ MACHINE_CONFIG_START(abc77_device::device_add_mconfig) // discrete sound SPEAKER(config, "mono").front_center(); - MCFG_DEVICE_ADD(DISCRETE_TAG, DISCRETE, abc77_discrete) - MCFG_SOUND_ROUTE(ALL_OUTPUTS, "mono", 0.80) -MACHINE_CONFIG_END + DISCRETE(config, m_discrete, abc77_discrete).add_route(ALL_OUTPUTS, "mono", 0.80); +} //------------------------------------------------- |