From 3c0e32112372e880b70e52fbb5ce14b5eef40f1b Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sun, 15 Apr 2012 05:44:22 +0000 Subject: Remove AM_BASE in favor of AM_SHARED + required_shared_ptr. This update passes validity checks but will certainly have a number of drivers failing at startup because all pointers are defaulted to required by the automated scripts used. Will fix problems once we get a regression run to find out which drivers need attention. --- src/mame/includes/starshp1.h | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) (limited to 'src/mame/includes/starshp1.h') diff --git a/src/mame/includes/starshp1.h b/src/mame/includes/starshp1.h index 7b5532da0c0..51f5bdb42bd 100644 --- a/src/mame/includes/starshp1.h +++ b/src/mame/includes/starshp1.h @@ -34,14 +34,18 @@ class starshp1_state : public driver_device { public: starshp1_state(const machine_config &mconfig, device_type type, const char *tag) - : driver_device(mconfig, type, tag) { } + : driver_device(mconfig, type, tag) , + m_playfield_ram(*this, "playfield_ram"), + m_hpos_ram(*this, "hpos_ram"), + m_vpos_ram(*this, "vpos_ram"), + m_obj_ram(*this, "obj_ram"){ } int m_analog_in_select; int m_attract; - UINT8 *m_playfield_ram; - UINT8 *m_hpos_ram; - UINT8 *m_vpos_ram; - UINT8 *m_obj_ram; + required_shared_ptr m_playfield_ram; + required_shared_ptr m_hpos_ram; + required_shared_ptr m_vpos_ram; + required_shared_ptr m_obj_ram; int m_ship_explode; int m_ship_picture; int m_ship_hoffset; -- cgit v1.2.3