summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/wangpc/wangpc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/wangpc/wangpc.cpp')
-rw-r--r--src/devices/bus/wangpc/wangpc.cpp21
1 files changed, 11 insertions, 10 deletions
diff --git a/src/devices/bus/wangpc/wangpc.cpp b/src/devices/bus/wangpc/wangpc.cpp
index b7acf07f94c..36ed25bfdff 100644
--- a/src/devices/bus/wangpc/wangpc.cpp
+++ b/src/devices/bus/wangpc/wangpc.cpp
@@ -262,13 +262,14 @@ device_wangpcbus_card_interface::device_wangpcbus_card_interface(const machine_c
#include "tig.h"
#include "wdc.h"
-SLOT_INTERFACE_START( wangpc_cards )
- SLOT_INTERFACE("emb", WANGPC_EMB) // extended memory board
- SLOT_INTERFACE("lic", WANGPC_LIC) // local interconnect option card
- SLOT_INTERFACE("lvc", WANGPC_LVC) // low-resolution video controller
- SLOT_INTERFACE("mcc", WANGPC_MCC) // multiport communications controller
- SLOT_INTERFACE("mvc", WANGPC_MVC) // medium-resolution video controller
- SLOT_INTERFACE("rtc", WANGPC_RTC) // remote telecommunications controller
- SLOT_INTERFACE("tig", WANGPC_TIG) // text/image/graphics controller
- SLOT_INTERFACE("wdc", WANGPC_WDC) // Winchester disk controller
-SLOT_INTERFACE_END
+void wangpc_cards(device_slot_interface &device)
+{
+ device.option_add("emb", WANGPC_EMB); // extended memory board
+ device.option_add("lic", WANGPC_LIC); // local interconnect option card
+ device.option_add("lvc", WANGPC_LVC); // low-resolution video controller
+ device.option_add("mcc", WANGPC_MCC); // multiport communications controller
+ device.option_add("mvc", WANGPC_MVC); // medium-resolution video controller
+ device.option_add("rtc", WANGPC_RTC); // remote telecommunications controller
+ device.option_add("tig", WANGPC_TIG); // text/image/graphics controller
+ device.option_add("wdc", WANGPC_WDC); // Winchester disk controller
+}