diff options
Diffstat (limited to 'src/devices/bus/bbc/rom/slot.cpp')
-rw-r--r-- | src/devices/bus/bbc/rom/slot.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/bus/bbc/rom/slot.cpp b/src/devices/bus/bbc/rom/slot.cpp index e421a1c520e..4a284661155 100644 --- a/src/devices/bus/bbc/rom/slot.cpp +++ b/src/devices/bus/bbc/rom/slot.cpp @@ -27,7 +27,7 @@ DEFINE_DEVICE_TYPE(BBC_ROMSLOT32, bbc_romslot32_device, "bbc_romslot32", "BBC Mi //------------------------------------------------- device_bbc_rom_interface::device_bbc_rom_interface(const machine_config &mconfig, device_t &device) - : device_slot_card_interface(mconfig, device) + : device_interface(device, "bbcrom") , m_rom(nullptr) , m_rom_size(0) { @@ -84,7 +84,7 @@ void device_bbc_rom_interface::nvram_alloc(uint32_t size) bbc_romslot_device::bbc_romslot_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_image_interface(mconfig, *this) - , device_slot_interface(mconfig, *this) + , device_single_card_slot_interface<device_bbc_rom_interface>(mconfig, *this) , m_cart(nullptr) { } @@ -105,7 +105,7 @@ bbc_romslot32_device::bbc_romslot32_device(const machine_config &mconfig, const void bbc_romslot_device::device_start() { - m_cart = dynamic_cast<device_bbc_rom_interface *>(get_card_device()); + m_cart = get_card_device(); } |