diff options
Diffstat (limited to 'src/devices/imagedev/picture.h')
-rw-r--r-- | src/devices/imagedev/picture.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/devices/imagedev/picture.h b/src/devices/imagedev/picture.h index 4261d6cf351..f8601345a89 100644 --- a/src/devices/imagedev/picture.h +++ b/src/devices/imagedev/picture.h @@ -32,14 +32,14 @@ public: // image-level overrides virtual image_init_result call_load() override; virtual void call_unload() override; - virtual iodevice_t image_type() const override { return IO_PICTURE; } - - 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 0; } - virtual const char *file_extensions() const override { return "png"; } + virtual iodevice_t image_type() const noexcept override { return IO_PICTURE; } + + 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 false; } + virtual const char *file_extensions() const noexcept override { return "png"; } bitmap_argb32 &get_bitmap() { return *m_picture; } |