diff options
Diffstat (limited to 'src/devices/bus/pc_joy/pc_joy_sw.cpp')
-rw-r--r-- | src/devices/bus/pc_joy/pc_joy_sw.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/pc_joy/pc_joy_sw.cpp b/src/devices/bus/pc_joy/pc_joy_sw.cpp index 817798ff383..0fbe1e67e45 100644 --- a/src/devices/bus/pc_joy/pc_joy_sw.cpp +++ b/src/devices/bus/pc_joy/pc_joy_sw.cpp @@ -5,10 +5,10 @@ #include "emu.h" #include "pc_joy_sw.h" -const device_type PC_MSSW_PAD = device_creator<pc_mssw_pad_device>; +DEFINE_DEVICE_TYPE(PC_MSSW_PAD, pc_mssw_pad_device, "mssw_pad", "Microsoft Sidewinder Pad") pc_mssw_pad_device::pc_mssw_pad_device(const machine_config& mconfig, const char* tag, device_t* owner, uint32_t clock) : - device_t(mconfig, PC_MSSW_PAD, "Microsoft Sidewinder Pad", tag, owner, clock, "mssw_pad", __FILE__), + device_t(mconfig, PC_MSSW_PAD, tag, owner, clock), device_pc_joy_interface(mconfig, *this), m_btn1(*this, "btn1"), m_btn2(*this, "btn2"), |