summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/nes_ctrl/pachinko.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/nes_ctrl/pachinko.cpp')
-rw-r--r--src/devices/bus/nes_ctrl/pachinko.cpp11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/nes_ctrl/pachinko.cpp b/src/devices/bus/nes_ctrl/pachinko.cpp
index 9a82d894b6f..d8aa81e3091 100644
--- a/src/devices/bus/nes_ctrl/pachinko.cpp
+++ b/src/devices/bus/nes_ctrl/pachinko.cpp
@@ -13,7 +13,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type NES_PACHINKO = device_creator<nes_pachinko_device>;
+DEFINE_DEVICE_TYPE(NES_PACHINKO, nes_pachinko_device, "nes_pachinko", "Famicom Pachinko Controller")
static INPUT_PORTS_START( nes_pachinko )
@@ -49,10 +49,11 @@ ioport_constructor nes_pachinko_device::device_input_ports() const
//-------------------------------------------------
nes_pachinko_device::nes_pachinko_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, NES_PACHINKO, "Famicom Pachinko Controller", tag, owner, clock, "nes_pachinko", __FILE__),
- device_nes_control_port_interface(mconfig, *this),
- m_joypad(*this, "JOYPAD"),
- m_trigger(*this, "TRIGGER"), m_latch(0)
+ device_t(mconfig, NES_PACHINKO, tag, owner, clock),
+ device_nes_control_port_interface(mconfig, *this),
+ m_joypad(*this, "JOYPAD"),
+ m_trigger(*this, "TRIGGER"),
+ m_latch(0)
{
}