diff options
Diffstat (limited to 'src/devices/bus/kc/kc.h')
-rw-r--r-- | src/devices/bus/kc/kc.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/devices/bus/kc/kc.h b/src/devices/bus/kc/kc.h index 9c510fe62cd..fdb9cd467ce 100644 --- a/src/devices/bus/kc/kc.h +++ b/src/devices/bus/kc/kc.h @@ -13,7 +13,7 @@ #pragma once -#include "softlist_dev.h" +#include "imagedev/cartrom.h" /*************************************************************************** TYPE DEFINITIONS @@ -94,7 +94,7 @@ protected: // ======================> kccart_slot_device -class kccart_slot_device : public kcexp_slot_device, public device_image_interface +class kccart_slot_device : public kcexp_slot_device, public device_cartrom_image_interface { public: // construction/destruction @@ -113,21 +113,12 @@ public: // image-level overrides virtual image_init_result call_load() 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 "kc_cart"; } virtual const char *file_extensions() const noexcept override { return "bin"; } // slot interface overrides virtual std::string get_default_card_software(get_default_card_software_hook &hook) const override; - -protected: - // device_image_interface implementation - virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } }; // device type definition |