diff options
Diffstat (limited to 'src/devices/bus/snes_ctrl/pachinko.cpp')
-rw-r--r-- | src/devices/bus/snes_ctrl/pachinko.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/snes_ctrl/pachinko.cpp b/src/devices/bus/snes_ctrl/pachinko.cpp index d80b862fb33..44d81066d83 100644 --- a/src/devices/bus/snes_ctrl/pachinko.cpp +++ b/src/devices/bus/snes_ctrl/pachinko.cpp @@ -13,7 +13,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type SNES_PACHINKO = device_creator<snes_pachinko_device>; +DEFINE_DEVICE_TYPE(SNES_PACHINKO, snes_pachinko_device, "snes_pachinko", "Sunsoft Pachinko Controller") static INPUT_PORTS_START( snes_pachinko ) @@ -46,10 +46,11 @@ ioport_constructor snes_pachinko_device::device_input_ports() const //------------------------------------------------- snes_pachinko_device::snes_pachinko_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, SNES_PACHINKO, "Sunsoft Pachinko Controller", tag, owner, clock, "snes_pachinko", __FILE__), - device_snes_control_port_interface(mconfig, *this), - m_dial(*this, "DIAL"), - m_button(*this, "BUTTON"), m_strobe(0), m_latch(0) + device_t(mconfig, SNES_PACHINKO, tag, owner, clock), + device_snes_control_port_interface(mconfig, *this), + m_dial(*this, "DIAL"), + m_button(*this, "BUTTON"), + m_strobe(0), m_latch(0) { } |