diff options
author | 2019-02-01 18:13:14 +0100 | |
---|---|---|
committer | 2019-02-01 18:13:14 +0100 | |
commit | 7918b8068c8ea1b16fa223061c7c761bb5893537 (patch) | |
tree | 453f60840d893d6afa58842842ce41bb5de4d9b1 /src/devices/bus/intv_ctrl/ecs_ctrl.cpp | |
parent | 5bb63697f066a04c3072f6e4bed52a5bb446d7c8 (diff) |
devices\bus: some more MCFG macros removal (nw)
Diffstat (limited to 'src/devices/bus/intv_ctrl/ecs_ctrl.cpp')
-rw-r--r-- | src/devices/bus/intv_ctrl/ecs_ctrl.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/intv_ctrl/ecs_ctrl.cpp b/src/devices/bus/intv_ctrl/ecs_ctrl.cpp index e90292de645..3f6afda5f4b 100644 --- a/src/devices/bus/intv_ctrl/ecs_ctrl.cpp +++ b/src/devices/bus/intv_ctrl/ecs_ctrl.cpp @@ -145,10 +145,11 @@ static void intvecs_controller(device_slot_interface &device) device.option_add("handctrl", INTV_HANDCTRL); } -MACHINE_CONFIG_START(intvecs_ctrls_device::device_add_mconfig) - MCFG_INTV_CONTROL_PORT_ADD("port1", intvecs_controller, "handctrl") - MCFG_INTV_CONTROL_PORT_ADD("port2", intvecs_controller, "handctrl") -MACHINE_CONFIG_END +void intvecs_ctrls_device::device_add_mconfig(machine_config &config) +{ + INTV_CONTROL_PORT(config, m_hand1, intvecs_controller, "handctrl"); + INTV_CONTROL_PORT(config, m_hand2, intvecs_controller, "handctrl"); +} intvecs_ctrls_device::intvecs_ctrls_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : |