diff options
Diffstat (limited to 'src/devices/bus/tvc/tvc.cpp')
-rw-r--r-- | src/devices/bus/tvc/tvc.cpp | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/devices/bus/tvc/tvc.cpp b/src/devices/bus/tvc/tvc.cpp index e726cffd99e..0f165e0395f 100644 --- a/src/devices/bus/tvc/tvc.cpp +++ b/src/devices/bus/tvc/tvc.cpp @@ -18,7 +18,7 @@ // GLOBAL VARIABLES //************************************************************************** -const device_type TVCEXP_SLOT = device_creator<tvcexp_slot_device>; +DEFINE_DEVICE_TYPE(TVCEXP_SLOT, tvcexp_slot_device, "tvcexp_slot", "TVC64 Expansion Slot") //************************************************************************** @@ -52,10 +52,11 @@ device_tvcexp_interface::~device_tvcexp_interface() // tvcexp_slot_device - constructor //------------------------------------------------- tvcexp_slot_device::tvcexp_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : - device_t(mconfig, TVCEXP_SLOT, "TVC64 Expansion Slot", tag, owner, clock, "tvcexp_slot", __FILE__), - device_slot_interface(mconfig, *this), - m_out_irq_cb(*this), - m_out_nmi_cb(*this), m_cart(nullptr) + device_t(mconfig, TVCEXP_SLOT, tag, owner, clock), + device_slot_interface(mconfig, *this), + m_out_irq_cb(*this), + m_out_nmi_cb(*this), + m_cart(nullptr) { } |