summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/astrocde/slot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/astrocde/slot.h')
-rw-r--r--src/devices/bus/astrocde/slot.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/astrocde/slot.h b/src/devices/bus/astrocde/slot.h
index 9c9654eb3b4..f068d994798 100644
--- a/src/devices/bus/astrocde/slot.h
+++ b/src/devices/bus/astrocde/slot.h
@@ -73,20 +73,20 @@ public:
virtual void call_unload() override {}
virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); }
- int get_type() { return m_type; }
-
- virtual iodevice_t image_type() const override { return IO_CARTSLOT; }
- virtual bool is_readable() const override { return 1; }
- virtual bool is_writeable() const override { return 0; }
- 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 1; }
- virtual const char *image_interface() const override { return "astrocde_cart"; }
- virtual const char *file_extensions() const override { return "bin"; }
+ 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 "astrocde_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;
+ int get_type() { return m_type; }
+
// reading and writing
virtual DECLARE_READ8_MEMBER(read_rom);