diff options
Diffstat (limited to 'src/devices/bus/bbc/joyport/joystick.cpp')
-rw-r--r-- | src/devices/bus/bbc/joyport/joystick.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/devices/bus/bbc/joyport/joystick.cpp b/src/devices/bus/bbc/joyport/joystick.cpp index d4eecd8acaf..ee02a64a56a 100644 --- a/src/devices/bus/bbc/joyport/joystick.cpp +++ b/src/devices/bus/bbc/joyport/joystick.cpp @@ -13,7 +13,7 @@ // DEVICE DEFINITIONS //************************************************************************** -const device_type BBCMC_JOYSTICK = device_creator<bbcmc_joystick_device>; +DEFINE_DEVICE_TYPE(BBCMC_JOYSTICK, bbcmc_joystick_device, "bbcmc_joystick", "Master Compact Joystick") static INPUT_PORTS_START( joystick ) @@ -45,9 +45,9 @@ ioport_constructor bbcmc_joystick_device::device_input_ports() const //------------------------------------------------- bbcmc_joystick_device::bbcmc_joystick_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) - : device_t(mconfig, BBCMC_JOYSTICK, "Master Compact Joystick", tag, owner, clock, "bbcmc_joystick", __FILE__), - device_bbc_joyport_interface(mconfig, *this), - m_joy(*this, "JOY") + : device_t(mconfig, BBCMC_JOYSTICK, tag, owner, clock) + , device_bbc_joyport_interface(mconfig, *this) + , m_joy(*this, "JOY") { } |