summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/poolshrk.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/poolshrk.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/poolshrk.h')
-rw-r--r--src/mame/includes/poolshrk.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/src/mame/includes/poolshrk.h b/src/mame/includes/poolshrk.h
index 24eb5ee0d05..b873a05b016 100644
--- a/src/mame/includes/poolshrk.h
+++ b/src/mame/includes/poolshrk.h
@@ -12,12 +12,15 @@ class poolshrk_state : public driver_device
{
public:
poolshrk_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"){ }
int m_da_latch;
- UINT8* m_playfield_ram;
- UINT8* m_hpos_ram;
- UINT8* m_vpos_ram;
+ required_shared_ptr<UINT8> m_playfield_ram;
+ required_shared_ptr<UINT8> m_hpos_ram;
+ required_shared_ptr<UINT8> m_vpos_ram;
tilemap_t* m_bg_tilemap;
DECLARE_WRITE8_MEMBER(poolshrk_da_latch_w);
DECLARE_WRITE8_MEMBER(poolshrk_led_w);