diff options
author | Ivan Vangelista <mesgnet@yahoo.it> | 2019-01-31 18:02:11 +0100 |
---|---|---|
committer | Ivan Vangelista <mesgnet@yahoo.it> | 2019-01-31 18:02:11 +0100 |
commit | 49109286af145d9695fac40d836058eac2d97fb5 (patch) | |
tree | 245b70e36993f7e3c7d95d30f93f53b547b856c4 /src/devices/bus/svi3x8/expander/sv602.cpp | |
parent | 3add98785790f4d4b3585c714f55767f1149817b (diff) |
devices\bus: some MCFG macros removal (nw)
Diffstat (limited to 'src/devices/bus/svi3x8/expander/sv602.cpp')
-rw-r--r-- | src/devices/bus/svi3x8/expander/sv602.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/bus/svi3x8/expander/sv602.cpp b/src/devices/bus/svi3x8/expander/sv602.cpp index b7c657bddce..d4d288437bf 100644 --- a/src/devices/bus/svi3x8/expander/sv602.cpp +++ b/src/devices/bus/svi3x8/expander/sv602.cpp @@ -20,13 +20,14 @@ DEFINE_DEVICE_TYPE(SV602, sv602_device, "sv602", "SV-602 Single Slot Expander") // device_add_mconfig - add device configuration //------------------------------------------------- -MACHINE_CONFIG_START(sv602_device::device_add_mconfig) - MCFG_SVI_SLOT_BUS_ADD - MCFG_SVI_SLOT_INT_HANDLER(WRITELINE(*this, sv602_device, int_w)) - MCFG_SVI_SLOT_ROMDIS_HANDLER(WRITELINE(*this, sv602_device, romdis_w)) - MCFG_SVI_SLOT_RAMDIS_HANDLER(WRITELINE(*this, sv602_device, ramdis_w)) - MCFG_SVI_SLOT_ADD("0", sv602_slot_cards, nullptr) -MACHINE_CONFIG_END +void sv602_device::device_add_mconfig(machine_config &config) +{ + SVI_SLOT_BUS(config, m_slotbus, 0); + m_slotbus->int_handler().set(FUNC(sv602_device::int_w)); + m_slotbus->romdis_handler().set(FUNC(sv602_device::romdis_w)); + m_slotbus->ramdis_handler().set(FUNC(sv602_device::ramdis_w)); + SVI_SLOT(config, "0", sv602_slot_cards, nullptr); +} //************************************************************************** |