diff options
Diffstat (limited to 'src/devices/bus/dmv/k806.cpp')
-rw-r--r-- | src/devices/bus/dmv/k806.cpp | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/src/devices/bus/dmv/k806.cpp b/src/devices/bus/dmv/k806.cpp index 7e4309ac5a9..9d0f986b7f9 100644 --- a/src/devices/bus/dmv/k806.cpp +++ b/src/devices/bus/dmv/k806.cpp @@ -61,7 +61,7 @@ INPUT_PORTS_END // GLOBAL VARIABLES //************************************************************************** -const device_type DMV_K806 = device_creator<dmv_k806_device>; +DEFINE_DEVICE_TYPE(DMV_K806, dmv_k806_device, "dmv_k806", "K806 mouse") //************************************************************************** // LIVE DEVICE @@ -72,14 +72,15 @@ const device_type DMV_K806 = device_creator<dmv_k806_device>; //------------------------------------------------- dmv_k806_device::dmv_k806_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, DMV_K806, "K806 mouse", tag, owner, clock, "dmv_k806", __FILE__), - device_dmvslot_interface( mconfig, *this ), - m_mcu(*this, "mcu"), - m_jumpers(*this, "JUMPERS"), - m_mouse_buttons(*this, "MOUSE"), - m_mouse_x(*this, "MOUSEX"), - m_mouse_y(*this, "MOUSEY"), m_bus(nullptr) - { + : device_t(mconfig, DMV_K806, tag, owner, clock) + , device_dmvslot_interface( mconfig, *this ) + , m_mcu(*this, "mcu") + , m_jumpers(*this, "JUMPERS") + , m_mouse_buttons(*this, "MOUSE") + , m_mouse_x(*this, "MOUSEX") + , m_mouse_y(*this, "MOUSEY") + , m_bus(nullptr) +{ } //------------------------------------------------- |