summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/imagedev/picture.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/imagedev/picture.h')
-rw-r--r--src/devices/imagedev/picture.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/imagedev/picture.h b/src/devices/imagedev/picture.h
index f8601345a89..1780a563318 100644
--- a/src/devices/imagedev/picture.h
+++ b/src/devices/imagedev/picture.h
@@ -41,14 +41,14 @@ public:
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; }
+ const bitmap_argb32 &get_bitmap() { return m_picture; }
protected:
// device-level overrides
virtual void device_start() override;
private:
- bitmap_argb32 *m_picture;
+ bitmap_argb32 m_picture;
};