summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/dday.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/includes/dday.h')
-rw-r--r--src/mame/includes/dday.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/src/mame/includes/dday.h b/src/mame/includes/dday.h
index 866b76d72fd..2df8e07820b 100644
--- a/src/mame/includes/dday.h
+++ b/src/mame/includes/dday.h
@@ -9,13 +9,17 @@ class dday_state : public driver_device
{
public:
dday_state(const machine_config &mconfig, device_type type, const char *tag)
- : driver_device(mconfig, type, tag) { }
+ : driver_device(mconfig, type, tag) ,
+ m_textvideoram(*this, "textvideoram"),
+ m_fgvideoram(*this, "fgvideoram"),
+ m_bgvideoram(*this, "bgvideoram"),
+ m_colorram(*this, "colorram"){ }
/* memory pointers */
- UINT8 * m_bgvideoram;
- UINT8 * m_fgvideoram;
- UINT8 * m_textvideoram;
- UINT8 * m_colorram;
+ required_shared_ptr<UINT8> m_textvideoram;
+ required_shared_ptr<UINT8> m_fgvideoram;
+ required_shared_ptr<UINT8> m_bgvideoram;
+ required_shared_ptr<UINT8> m_colorram;
/* video-related */
tilemap_t *m_fg_tilemap;