summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vtech/ioexp/carts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vtech/ioexp/carts.cpp')
-rw-r--r--src/devices/bus/vtech/ioexp/carts.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/vtech/ioexp/carts.cpp b/src/devices/bus/vtech/ioexp/carts.cpp
index ae579ba23e5..86209ad35f8 100644
--- a/src/devices/bus/vtech/ioexp/carts.cpp
+++ b/src/devices/bus/vtech/ioexp/carts.cpp
@@ -13,7 +13,8 @@
#include "printer.h"
-SLOT_INTERFACE_START( vtech_ioexp_slot_carts )
- SLOT_INTERFACE("joystick", VTECH_JOYSTICK_INTERFACE)
- SLOT_INTERFACE("printer", VTECH_PRINTER_INTERFACE)
-SLOT_INTERFACE_END
+void vtech_ioexp_slot_carts(device_slot_interface &device)
+{
+ device.option_add("joystick", VTECH_JOYSTICK_INTERFACE);
+ device.option_add("printer", VTECH_PRINTER_INTERFACE);
+}