diff options
Diffstat (limited to 'src/devices/bus/nes_ctrl/partytap.cpp')
-rw-r--r-- | src/devices/bus/nes_ctrl/partytap.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/devices/bus/nes_ctrl/partytap.cpp b/src/devices/bus/nes_ctrl/partytap.cpp index 6a0b3c9880c..b9029ab2f3a 100644 --- a/src/devices/bus/nes_ctrl/partytap.cpp +++ b/src/devices/bus/nes_ctrl/partytap.cpp @@ -13,7 +13,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type NES_PARTYTAP = device_creator<nes_partytap_device>; +DEFINE_DEVICE_TYPE(NES_PARTYTAP, nes_partytap_device, "nes_partytap", "Yonezawa Party Tap Controller") static INPUT_PORTS_START( nes_partytap ) @@ -45,9 +45,11 @@ ioport_constructor nes_partytap_device::device_input_ports() const //------------------------------------------------- nes_partytap_device::nes_partytap_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, NES_PARTYTAP, "Yonezawa Party Tap Controller", tag, owner, clock, "nes_partytap", __FILE__), - device_nes_control_port_interface(mconfig, *this), - m_inputs(*this, "INPUTS"), m_mode(0), m_latch(0) + device_t(mconfig, NES_PARTYTAP, tag, owner, clock), + device_nes_control_port_interface(mconfig, *this), + m_inputs(*this, "INPUTS"), + m_mode(0), + m_latch(0) { } |