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.h19
1 files changed, 10 insertions, 9 deletions
diff --git a/src/devices/machine/smartmed.h b/src/devices/machine/smartmed.h
index cd0d818aeb2..708449cd36a 100644
--- a/src/devices/machine/smartmed.h
+++ b/src/devices/machine/smartmed.h
@@ -201,21 +201,22 @@ public:
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 override { return IO_MEMCARD; }
+ virtual iodevice_t image_type() const noexcept override { return IO_MEMCARD; }
- virtual bool is_readable() const override { return 1; }
- virtual bool is_writeable() const override { return 1; }
- virtual bool is_creatable() const override { return 0; }
- virtual bool must_be_loaded() const override { return 0; }
- virtual bool is_reset_on_load() const override { return 0; }
- virtual const char *image_interface() const override { return "sm_memc"; }
- virtual const char *file_extensions() const override { return "smc"; }
+ 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"; }
virtual image_init_result call_load() override;
virtual void call_unload() override;
- virtual const software_list_loader &get_software_list_loader() const override { return image_software_list_loader::instance(); }
protected:
+ virtual const software_list_loader &get_software_list_loader() const override { return image_software_list_loader::instance(); }
+
image_init_result smartmedia_format_1();
image_init_result smartmedia_format_2();
int detect_geometry(uint8_t id1, uint8_t id2);