summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/intv_ctrl/ctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/intv_ctrl/ctrl.cpp')
-rw-r--r--src/devices/bus/intv_ctrl/ctrl.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/intv_ctrl/ctrl.cpp b/src/devices/bus/intv_ctrl/ctrl.cpp
index 510ac13cba8..01b64ba6aef 100644
--- a/src/devices/bus/intv_ctrl/ctrl.cpp
+++ b/src/devices/bus/intv_ctrl/ctrl.cpp
@@ -16,7 +16,7 @@
// GLOBAL VARIABLES
//**************************************************************************
-const device_type INTV_CONTROL_PORT = device_creator<intv_control_port_device>;
+DEFINE_DEVICE_TYPE(INTV_CONTROL_PORT, intv_control_port_device, "intv_control_port", "Mattel Intellivision control port")
//**************************************************************************
@@ -52,8 +52,9 @@ device_intv_control_port_interface::~device_intv_control_port_interface()
//-------------------------------------------------
intv_control_port_device::intv_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, INTV_CONTROL_PORT, "Mattel Intellivision control port", tag, owner, clock, "intv_control_port", __FILE__),
- device_slot_interface(mconfig, *this), m_device(nullptr)
+ device_t(mconfig, INTV_CONTROL_PORT, tag, owner, clock),
+ device_slot_interface(mconfig, *this),
+ m_device(nullptr)
{
}