summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/canyon.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/canyon.h')
-rw-r--r--src/mame/includes/canyon.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mame/includes/canyon.h b/src/mame/includes/canyon.h
index 884777df7f9..0da2efee967 100644
--- a/src/mame/includes/canyon.h
+++ b/src/mame/includes/canyon.h
@@ -21,10 +21,11 @@ class canyon_state : public driver_device
{
public:
canyon_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag) { }
+ : driver_device(mconfig, type, tag) ,
+ m_videoram(*this, "videoram"){ }
/* memory pointers */
- UINT8 * m_videoram;
+ required_shared_ptr<UINT8> m_videoram;
/* video-related */
tilemap_t *m_bg_tilemap;