summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/cgenie/parallel/carts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/cgenie/parallel/carts.cpp')
-rw-r--r--src/devices/bus/cgenie/parallel/carts.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/cgenie/parallel/carts.cpp b/src/devices/bus/cgenie/parallel/carts.cpp
index 627d969bd2f..174f97e32ce 100644
--- a/src/devices/bus/cgenie/parallel/carts.cpp
+++ b/src/devices/bus/cgenie/parallel/carts.cpp
@@ -12,7 +12,8 @@
#include "printer.h"
-SLOT_INTERFACE_START( cg_parallel_slot_carts )
- SLOT_INTERFACE("joystick", CGENIE_JOYSTICK)
- SLOT_INTERFACE("printer", CGENIE_PRINTER)
-SLOT_INTERFACE_END
+void cg_parallel_slot_carts(device_slot_interface &device)
+{
+ device.option_add("joystick", CGENIE_JOYSTICK);
+ device.option_add("printer", CGENIE_PRINTER);
+}