diff options
Diffstat (limited to 'src/devices/bus/sms_ctrl/joypad.cpp')
-rw-r--r-- | src/devices/bus/sms_ctrl/joypad.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/sms_ctrl/joypad.cpp b/src/devices/bus/sms_ctrl/joypad.cpp index 2de1d1b13df..4cd664a952e 100644 --- a/src/devices/bus/sms_ctrl/joypad.cpp +++ b/src/devices/bus/sms_ctrl/joypad.cpp @@ -30,7 +30,7 @@ Release data from the Sega Retro project: // DEVICE DEFINITIONS //************************************************************************** -const device_type SMS_JOYPAD = device_creator<sms_joypad_device>; +DEFINE_DEVICE_TYPE(SMS_JOYPAD, sms_joypad_device, "sms_joypad", "Sega SMS Control Pad") static INPUT_PORTS_START( sms_joypad ) @@ -66,7 +66,7 @@ ioport_constructor sms_joypad_device::device_input_ports() const //------------------------------------------------- sms_joypad_device::sms_joypad_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, SMS_JOYPAD, "Sega SMS Control Pad", tag, owner, clock, "sms_joypad", __FILE__), + device_t(mconfig, SMS_JOYPAD, tag, owner, clock), device_sms_control_port_interface(mconfig, *this), m_joypad(*this, "JOYPAD") { |