summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/comx35/joycard.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/comx35/joycard.cpp')
-rw-r--r--src/devices/bus/comx35/joycard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/comx35/joycard.cpp b/src/devices/bus/comx35/joycard.cpp
index 3a7a7b9b311..4c6e46ff06e 100644
--- a/src/devices/bus/comx35/joycard.cpp
+++ b/src/devices/bus/comx35/joycard.cpp
@@ -22,7 +22,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type COMX_JOY = device_creator<comx_joy_device>;
+DEFINE_DEVICE_TYPE(COMX_JOY, comx_joy_device, "comx_joy", "COMX JoyCard")
//-------------------------------------------------
@@ -68,7 +68,7 @@ ioport_constructor comx_joy_device::device_input_ports() const
//-------------------------------------------------
comx_joy_device::comx_joy_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, COMX_JOY, "COMX JoyCard", tag, owner, clock, "comx_joy", __FILE__),
+ device_t(mconfig, COMX_JOY, tag, owner, clock),
device_comx_expansion_card_interface(mconfig, *this),
m_joy1(*this, "JOY1"),
m_joy2(*this, "JOY2")