summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vcs_ctrl/ctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vcs_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/vcs_ctrl/ctrl.cpp17
1 files changed, 9 insertions, 8 deletions
diff --git a/src/devices/bus/vcs_ctrl/ctrl.cpp b/src/devices/bus/vcs_ctrl/ctrl.cpp
index f25ef4f6545..c4f735aacb6 100644
--- a/src/devices/bus/vcs_ctrl/ctrl.cpp
+++ b/src/devices/bus/vcs_ctrl/ctrl.cpp
@@ -74,11 +74,12 @@ void vcs_control_port_device::device_start()
#include "paddles.h"
#include "wheel.h"
-SLOT_INTERFACE_START( vcs_control_port_devices )
- SLOT_INTERFACE("joy", VCS_JOYSTICK)
- SLOT_INTERFACE("pad", VCS_PADDLES)
- SLOT_INTERFACE("lp", VCS_LIGHTPEN)
- SLOT_INTERFACE("joybstr", VCS_JOYSTICK_BOOSTER)
- SLOT_INTERFACE("wheel", VCS_WHEEL)
- SLOT_INTERFACE("keypad", VCS_KEYPAD)
-SLOT_INTERFACE_END
+void vcs_control_port_devices(device_slot_interface &device)
+{
+ device.option_add("joy", VCS_JOYSTICK);
+ device.option_add("pad", VCS_PADDLES);
+ device.option_add("lp", VCS_LIGHTPEN);
+ device.option_add("joybstr", VCS_JOYSTICK_BOOSTER);
+ device.option_add("wheel", VCS_WHEEL);
+ device.option_add("keypad", VCS_KEYPAD);
+}