diff options
Diffstat (limited to 'src/devices/bus/a2bus/a2eauxslot.cpp')
-rw-r--r-- | src/devices/bus/a2bus/a2eauxslot.cpp | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/src/devices/bus/a2bus/a2eauxslot.cpp b/src/devices/bus/a2bus/a2eauxslot.cpp index 8fc2f7a8137..7e3ba7ca8e3 100644 --- a/src/devices/bus/a2bus/a2eauxslot.cpp +++ b/src/devices/bus/a2bus/a2eauxslot.cpp @@ -16,7 +16,7 @@ // GLOBAL VARIABLES //************************************************************************** -const device_type A2EAUXSLOT_SLOT = device_creator<a2eauxslot_slot_device>; +DEFINE_DEVICE_TYPE(A2EAUXSLOT_SLOT, a2eauxslot_slot_device, "a2eauxslot_slot", "Apple IIe AUX Slot") //************************************************************************** // LIVE DEVICE @@ -25,17 +25,16 @@ const device_type A2EAUXSLOT_SLOT = device_creator<a2eauxslot_slot_device>; //------------------------------------------------- // a2eauxslot_slot_device - constructor //------------------------------------------------- -a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, A2EAUXSLOT_SLOT, "Apple IIe AUX Slot", tag, owner, clock, "a2eauxslot_slot", __FILE__), - device_slot_interface(mconfig, *this), - m_a2eauxslot_tag(nullptr), - m_a2eauxslot_slottag(nullptr) +a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) + : a2eauxslot_slot_device(mconfig, A2EAUXSLOT_SLOT, tag, owner, clock) { } -a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) : - device_t(mconfig, type, name, tag, owner, clock, shortname, source), - device_slot_interface(mconfig, *this), m_a2eauxslot_tag(nullptr), m_a2eauxslot_slottag(nullptr) +a2eauxslot_slot_device::a2eauxslot_slot_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) + : device_t(mconfig, type, tag, owner, clock) + , device_slot_interface(mconfig, *this) + , m_a2eauxslot_tag(nullptr) + , m_a2eauxslot_slottag(nullptr) { } @@ -61,7 +60,7 @@ void a2eauxslot_slot_device::device_start() // GLOBAL VARIABLES //************************************************************************** -const device_type A2EAUXSLOT = device_creator<a2eauxslot_device>; +DEFINE_DEVICE_TYPE(A2EAUXSLOT, a2eauxslot_device, "a2eauxslot", "Apple IIe AUX Bus") void a2eauxslot_device::static_set_cputag(device_t &device, const char *tag) { @@ -77,17 +76,18 @@ void a2eauxslot_device::static_set_cputag(device_t &device, const char *tag) // a2eauxslot_device - constructor //------------------------------------------------- -a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, A2EAUXSLOT, "Apple IIe AUX Bus", tag, owner, clock, "a2eauxslot", __FILE__), m_maincpu(nullptr), - m_out_irq_cb(*this), - m_out_nmi_cb(*this), m_device(nullptr), m_cputag(nullptr) +a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) + : a2eauxslot_device(mconfig, A2EAUXSLOT, tag, owner, clock) { } -a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, device_type type, const char *name, const char *tag, device_t *owner, uint32_t clock, const char *shortname, const char *source) : - device_t(mconfig, type, name, tag, owner, clock, shortname, source), m_maincpu(nullptr), - m_out_irq_cb(*this), - m_out_nmi_cb(*this), m_device(nullptr), m_cputag(nullptr) +a2eauxslot_device::a2eauxslot_device(const machine_config &mconfig, device_type type, const char *tag, device_t *owner, uint32_t clock) + : device_t(mconfig, type, tag, owner, clock) + , m_maincpu(nullptr) + , m_out_irq_cb(*this) + , m_out_nmi_cb(*this) + , m_device(nullptr) + , m_cputag(nullptr) { } //------------------------------------------------- |