summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/snes_ctrl/twintap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/snes_ctrl/twintap.cpp')
-rw-r--r--src/devices/bus/snes_ctrl/twintap.cpp9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/devices/bus/snes_ctrl/twintap.cpp b/src/devices/bus/snes_ctrl/twintap.cpp
index ef4bdc8e260..25327786b10 100644
--- a/src/devices/bus/snes_ctrl/twintap.cpp
+++ b/src/devices/bus/snes_ctrl/twintap.cpp
@@ -20,7 +20,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type SNES_TWINTAP = device_creator<snes_twintap_device>;
+DEFINE_DEVICE_TYPE(SNES_TWINTAP, snes_twintap_device, "snes_twintap", "Yonezawa Twin Tap Controller")
static INPUT_PORTS_START( snes_twintap )
@@ -51,9 +51,10 @@ ioport_constructor snes_twintap_device::device_input_ports() const
//-------------------------------------------------
snes_twintap_device::snes_twintap_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, SNES_TWINTAP, "Yonezawa Twin Tap Controller", tag, owner, clock, "snes_twintap", __FILE__),
- device_snes_control_port_interface(mconfig, *this),
- m_inputs(*this, "INPUTS"), m_strobe(0), m_latch(0)
+ device_t(mconfig, SNES_TWINTAP, tag, owner, clock),
+ device_snes_control_port_interface(mconfig, *this),
+ m_inputs(*this, "INPUTS"),
+ m_strobe(0), m_latch(0)
{
}