summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/sat_ctrl/ctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/sat_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/sat_ctrl/ctrl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/sat_ctrl/ctrl.cpp b/src/devices/bus/sat_ctrl/ctrl.cpp
index 24239d0c67f..93a09176aa4 100644
--- a/src/devices/bus/sat_ctrl/ctrl.cpp
+++ b/src/devices/bus/sat_ctrl/ctrl.cpp
@@ -8,6 +8,7 @@
#include "emu.h"
#include "ctrl.h"
+
// slot devices
#include "analog.h"
#include "joy.h"
@@ -24,7 +25,7 @@
// GLOBAL VARIABLES
//**************************************************************************
-const device_type SATURN_CONTROL_PORT = device_creator<saturn_control_port_device>;
+DEFINE_DEVICE_TYPE(SATURN_CONTROL_PORT, saturn_control_port_device, "saturn_control_port", "Sega Saturn controller port")
//**************************************************************************
@@ -60,8 +61,8 @@ device_saturn_control_port_interface::~device_saturn_control_port_interface()
//-------------------------------------------------
saturn_control_port_device::saturn_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, SATURN_CONTROL_PORT, "Sega Saturn control port", tag, owner, clock, "saturn_control_port", __FILE__),
- device_slot_interface(mconfig, *this), m_device(nullptr)
+ device_t(mconfig, SATURN_CONTROL_PORT, tag, owner, clock),
+ device_slot_interface(mconfig, *this), m_device(nullptr)
{
}