summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coleco/exp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coleco/exp.cpp')
-rw-r--r--src/devices/bus/coleco/exp.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/devices/bus/coleco/exp.cpp b/src/devices/bus/coleco/exp.cpp
index 2eafe5ac05b..b092fd5a49b 100644
--- a/src/devices/bus/coleco/exp.cpp
+++ b/src/devices/bus/coleco/exp.cpp
@@ -15,7 +15,7 @@
// DEVICE DEFINITIONS
//**************************************************************************
-const device_type COLECOVISION_CARTRIDGE_SLOT = device_creator<colecovision_cartridge_slot_device>;
+DEFINE_DEVICE_TYPE(COLECOVISION_CARTRIDGE_SLOT, colecovision_cartridge_slot_device, "coleco_cartridge_port", "ColecoVision cartridge port")
@@ -54,9 +54,10 @@ void device_colecovision_cartridge_interface::rom_alloc(size_t size)
//-------------------------------------------------
colecovision_cartridge_slot_device::colecovision_cartridge_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
- device_t(mconfig, COLECOVISION_CARTRIDGE_SLOT, "ColecoVision cartridge port", tag, owner, clock, "coleco_cartridge_port", __FILE__),
+ device_t(mconfig, COLECOVISION_CARTRIDGE_SLOT, tag, owner, clock),
device_slot_interface(mconfig, *this),
- device_image_interface(mconfig, *this), m_card(nullptr)
+ device_image_interface(mconfig, *this),
+ m_card(nullptr)
{
}