summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/coleco/controller/ctrl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/coleco/controller/ctrl.cpp')
-rw-r--r--src/devices/bus/coleco/controller/ctrl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/coleco/controller/ctrl.cpp b/src/devices/bus/coleco/controller/ctrl.cpp
index 330c7c71551..80b5968eb03 100644
--- a/src/devices/bus/coleco/controller/ctrl.cpp
+++ b/src/devices/bus/coleco/controller/ctrl.cpp
@@ -28,7 +28,7 @@ DEFINE_DEVICE_TYPE(COLECOVISION_CONTROL_PORT, colecovision_control_port_device,
//-------------------------------------------------
device_colecovision_control_port_interface::device_colecovision_control_port_interface(const machine_config &mconfig, device_t &device) :
- device_slot_card_interface(mconfig, device),
+ device_interface(device, "colecoctrl"),
m_common0(1),
m_common1(1)
{
@@ -47,7 +47,7 @@ device_colecovision_control_port_interface::device_colecovision_control_port_int
colecovision_control_port_device::colecovision_control_port_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) :
device_t(mconfig, COLECOVISION_CONTROL_PORT, tag, owner, clock),
- device_slot_interface(mconfig, *this),
+ device_single_card_slot_interface<device_colecovision_control_port_interface>(mconfig, *this),
m_device(nullptr),
m_write_irq(*this)
{
@@ -60,7 +60,7 @@ colecovision_control_port_device::colecovision_control_port_device(const machine
void colecovision_control_port_device::device_start()
{
- m_device = dynamic_cast<device_colecovision_control_port_interface *>(get_card_device());
+ m_device = get_card_device();
m_write_irq.resolve_safe();
}