summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/vc4000/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/vc4000/slot.h')
-rw-r--r--src/devices/bus/vc4000/slot.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/devices/bus/vc4000/slot.h b/src/devices/bus/vc4000/slot.h
index 7d9df824d4e..39de8414d0b 100644
--- a/src/devices/bus/vc4000/slot.h
+++ b/src/devices/bus/vc4000/slot.h
@@ -3,7 +3,7 @@
#ifndef MAME_BUS_VC4000_SLOT_H
#define MAME_BUS_VC4000_SLOT_H
-#include "softlist_dev.h"
+#include "imagedev/cartrom.h"
#define VC4000SLOT_ROM_REGION_TAG ":cart:rom"
@@ -54,7 +54,7 @@ protected:
// ======================> vc4000_cart_slot_device
class vc4000_cart_slot_device : public device_t,
- public device_image_interface,
+ public device_cartrom_image_interface,
public device_single_card_slot_interface<device_vc4000_cart_interface>
{
public:
@@ -75,11 +75,6 @@ public:
virtual image_init_result call_load() override;
virtual void call_unload() override { }
- virtual iodevice_t image_type() const noexcept override { return IO_CARTSLOT; }
- virtual bool is_readable() const noexcept override { return true; }
- virtual bool is_writeable() const noexcept override { return false; }
- virtual bool is_creatable() const noexcept override { return false; }
- virtual bool must_be_loaded() const noexcept override { return false; }
virtual bool is_reset_on_load() const noexcept override { return true; }
virtual const char *image_interface() const noexcept override { return "vc4000_cart"; }
virtual const char *file_extensions() const noexcept override { return "bin,rom"; }
@@ -108,9 +103,6 @@ protected:
// device-level overrides
virtual void device_start() override;
- // device_image_interface implementation
- virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); }
-
int m_type;
device_vc4000_cart_interface *m_cart;
};