summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/fmt_icmem.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/fmt_icmem.h')
-rw-r--r--src/mame/machine/fmt_icmem.h20
1 files changed, 9 insertions, 11 deletions
diff --git a/src/mame/machine/fmt_icmem.h b/src/mame/machine/fmt_icmem.h
index cec31aabdf6..d13d978cc71 100644
--- a/src/mame/machine/fmt_icmem.h
+++ b/src/mame/machine/fmt_icmem.h
@@ -24,22 +24,19 @@ public:
// construction/destruction
fmt_icmem_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock);
- 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 true; }
- virtual bool is_writeable() const override { return true; }
- virtual bool is_creatable() const override { return true; }
- virtual bool must_be_loaded() const override { return false; }
- virtual bool is_reset_on_load() const override { return false; }
- virtual const char *file_extensions() const override { return "icm"; }
+ 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 true; }
+ virtual bool must_be_loaded() const noexcept override { return false; }
+ virtual bool is_reset_on_load() const noexcept override { return false; }
+ virtual const char *file_extensions() const noexcept override { return "icm"; }
virtual image_init_result call_load() override;
virtual void call_unload() override;
virtual image_init_result call_create(int format_type, util::option_resolution *format_options) override;
- // device-level overrides
- virtual void device_start() override;
-
DECLARE_READ8_MEMBER(static_mem_read);
DECLARE_WRITE8_MEMBER(static_mem_write);
DECLARE_READ8_MEMBER(mem_read);
@@ -48,9 +45,10 @@ public:
DECLARE_READ8_MEMBER(bank_r);
DECLARE_WRITE8_MEMBER(bank_w);
-
protected:
+ // device_t implementation
virtual ioport_constructor device_input_ports() const override;
+ virtual void device_start() override;
private:
required_ioport m_writeprotect;