summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/smartmed.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/machine/smartmed.h')
-rw-r--r--src/devices/machine/smartmed.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/devices/machine/smartmed.h b/src/devices/machine/smartmed.h
index 3c9eeeca54e..77c7d53b209 100644
--- a/src/devices/machine/smartmed.h
+++ b/src/devices/machine/smartmed.h
@@ -10,7 +10,7 @@
#pragma once
#include "formats/imageutl.h"
-#include "softlist_dev.h"
+#include "imagedev/memcard.h"
//#define SMARTMEDIA_IMAGE_SAVE
@@ -195,19 +195,14 @@ protected:
-class smartmedia_image_device : public nand_device, public device_image_interface
+class smartmedia_image_device : public nand_device, public device_memcard_image_interface
{
public:
// construction/destruction
smartmedia_image_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
// image-level overrides
- virtual iodevice_t image_type() const noexcept override { return IO_MEMCARD; }
-
- virtual bool is_readable() const noexcept override { return true; }
- virtual bool is_writeable() const noexcept override { return true; }
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 false; }
virtual const char *image_interface() const noexcept override { return "sm_memc"; }
virtual const char *file_extensions() const noexcept override { return "smc"; }
@@ -216,7 +211,7 @@ public:
virtual void call_unload() override;
protected:
- virtual const software_list_loader &get_software_list_loader() const override { return image_software_list_loader::instance(); }
+ virtual const software_list_loader &get_software_list_loader() const override;
image_init_result smartmedia_format_1();
image_init_result smartmedia_format_2();