summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/starshp1.h
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-04-15 05:44:22 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-04-15 05:44:22 +0000
commit3c0e32112372e880b70e52fbb5ce14b5eef40f1b (patch)
tree0e136f7f1d4f37e9af39f25c6744c497f264a733 /src/mame/includes/starshp1.h
parent933e54c208155a783f26ab6c0ab9fe788e2595d2 (diff)
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.
Diffstat (limited to 'src/mame/includes/starshp1.h')
-rw-r--r--src/mame/includes/starshp1.h14
1 files changed, 9 insertions, 5 deletions
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<UINT8> m_playfield_ram;
+ required_shared_ptr<UINT8> m_hpos_ram;
+ required_shared_ptr<UINT8> m_vpos_ram;
+ required_shared_ptr<UINT8> m_obj_ram;
int m_ship_explode;
int m_ship_picture;
int m_ship_hoffset;