diff options
Diffstat (limited to 'src/devices/bus/sat_ctrl/joy_md.cpp')
-rw-r--r-- | src/devices/bus/sat_ctrl/joy_md.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/bus/sat_ctrl/joy_md.cpp b/src/devices/bus/sat_ctrl/joy_md.cpp index bb6f076b127..987dffcf528 100644 --- a/src/devices/bus/sat_ctrl/joy_md.cpp +++ b/src/devices/bus/sat_ctrl/joy_md.cpp @@ -13,8 +13,8 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type SATURN_JOYMD3B = device_creator<saturn_joymd3b_device>; -const device_type SATURN_JOYMD6B = device_creator<saturn_joymd6b_device>; +DEFINE_DEVICE_TYPE(SATURN_JOYMD3B, saturn_joymd3b_device, "saturn_md3b", "Sega Saturn Joypad MD 3buttons") +DEFINE_DEVICE_TYPE(SATURN_JOYMD6B, saturn_joymd6b_device, "saturn_md6b", "Sega Saturn Joypad MD 6buttons") static INPUT_PORTS_START( saturn_md3b ) PORT_START("JOY") @@ -71,18 +71,18 @@ ioport_constructor saturn_joymd6b_device::device_input_ports() const //------------------------------------------------- saturn_joymd3b_device::saturn_joymd3b_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, SATURN_JOYMD3B, "Sega Saturn Joypad MD 3buttons", tag, owner, clock, "saturn_md3b", __FILE__), - device_saturn_control_port_interface(mconfig, *this), - m_joy(*this, "JOY") + device_t(mconfig, SATURN_JOYMD3B, tag, owner, clock), + device_saturn_control_port_interface(mconfig, *this), + m_joy(*this, "JOY") { m_ctrl_id = 0xe1; } saturn_joymd6b_device::saturn_joymd6b_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, SATURN_JOYMD6B, "Sega Saturn Joypad MD 6buttons", tag, owner, clock, "saturn_md6b", __FILE__), - device_saturn_control_port_interface(mconfig, *this), - m_joy(*this, "JOY") + device_t(mconfig, SATURN_JOYMD6B, tag, owner, clock), + device_saturn_control_port_interface(mconfig, *this), + m_joy(*this, "JOY") { m_ctrl_id = 0xe2; } |