diff options
Diffstat (limited to 'src/devices/imagedev/harddriv.h')
-rw-r--r-- | src/devices/imagedev/harddriv.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/devices/imagedev/harddriv.h b/src/devices/imagedev/harddriv.h index a6a9e721bc5..032d449ad68 100644 --- a/src/devices/imagedev/harddriv.h +++ b/src/devices/imagedev/harddriv.h @@ -41,17 +41,16 @@ public: virtual image_init_result call_load() override; virtual image_init_result call_create(int create_format, util::option_resolution *create_args) override; virtual void call_unload() override; - virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } - virtual iodevice_t image_type() const override { return IO_HARDDISK; } + virtual iodevice_t image_type() const noexcept override { return IO_HARDDISK; } - 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 m_interface; } - virtual const char *file_extensions() const override { return "chd,hd,hdv,2mg,hdi"; } + virtual bool is_readable() const noexcept override { return 1; } + virtual bool is_writeable() const noexcept override { return 1; } + virtual bool is_creatable() const noexcept override { return 0; } + virtual bool must_be_loaded() const noexcept override { return 0; } + virtual bool is_reset_on_load() const noexcept override { return 0; } + virtual const char *image_interface() const noexcept override { return m_interface; } + virtual const char *file_extensions() const noexcept override { return "chd,hd,hdv,2mg,hdi"; } virtual const util::option_guide &create_option_guide() const override; // specific implementation @@ -66,6 +65,9 @@ protected: virtual void device_start() override; virtual void device_stop() override; + // device_image_interface implementation + virtual const software_list_loader &get_software_list_loader() const override { return rom_software_list_loader::instance(); } + image_init_result internal_load_hd(); chd_file *m_chd; |