diff options
Diffstat (limited to 'src/devices/bus/gamate/slot.cpp')
-rw-r--r-- | src/devices/bus/gamate/slot.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/devices/bus/gamate/slot.cpp b/src/devices/bus/gamate/slot.cpp index 40a1c7fdfaa..cbeb5eae03b 100644 --- a/src/devices/bus/gamate/slot.cpp +++ b/src/devices/bus/gamate/slot.cpp @@ -18,10 +18,10 @@ DEFINE_DEVICE_TYPE(GAMATE_CART_SLOT, gamate_cart_slot_device, "gamate_cart_slot" // device_gamate_cart_interface - constructor //------------------------------------------------- -device_gamate_cart_interface::device_gamate_cart_interface(const machine_config &mconfig, device_t &device) - : device_slot_card_interface(mconfig, device), - m_rom(nullptr), - m_rom_size(0) +device_gamate_cart_interface::device_gamate_cart_interface(const machine_config &mconfig, device_t &device) : + device_interface(device, "gamatecart"), + m_rom(nullptr), + m_rom_size(0) { } @@ -57,7 +57,7 @@ void device_gamate_cart_interface::rom_alloc(uint32_t size, const char *tag) gamate_cart_slot_device::gamate_cart_slot_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock) : device_t(mconfig, GAMATE_CART_SLOT, tag, owner, clock), device_image_interface(mconfig, *this), - device_slot_interface(mconfig, *this), + device_single_card_slot_interface(mconfig, *this), m_type(GAMATE_PLAIN), m_cart(nullptr) { @@ -77,7 +77,7 @@ gamate_cart_slot_device::~gamate_cart_slot_device() void gamate_cart_slot_device::device_start() { - m_cart = dynamic_cast<device_gamate_cart_interface *>(get_card_device()); + m_cart = get_card_device(); } //------------------------------------------------- |