summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/4enlinea.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/4enlinea.cpp')
-rw-r--r--src/mame/drivers/4enlinea.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/mame/drivers/4enlinea.cpp b/src/mame/drivers/4enlinea.cpp
index 2c3df6bc81c..406ddc091a2 100644
--- a/src/mame/drivers/4enlinea.cpp
+++ b/src/mame/drivers/4enlinea.cpp
@@ -475,9 +475,10 @@ void _4enlinea_state::machine_reset()
* Machine Drivers *
***********************************/
-SLOT_INTERFACE_START( 4enlinea_isa8_cards )
- SLOT_INTERFACE_INTERNAL("4enlinea", ISA8_CGA_4ENLINEA)
-SLOT_INTERFACE_END
+void _4enlinea_isa8_cards(device_slot_interface &device)
+{
+ device.option_add_internal("4enlinea", ISA8_CGA_4ENLINEA);
+}
/* TODO: irq sources are unknown */
INTERRUPT_GEN_MEMBER(_4enlinea_state::_4enlinea_irq)
@@ -514,7 +515,7 @@ MACHINE_CONFIG_START(_4enlinea_state::_4enlinea)
MCFG_DEVICE_ADD("isa", ISA8, 0)
MCFG_ISA8_CPU("maincpu")
- MCFG_ISA8_SLOT_ADD("isa", "isa1", 4enlinea_isa8_cards, "4enlinea", true)
+ MCFG_ISA8_SLOT_ADD("isa", "isa1", _4enlinea_isa8_cards, "4enlinea", true)
/* 6845 clock is a guess, since it's a UM6845R embedded in the UM487F.