summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/includes/triplhnt.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/triplhnt.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/triplhnt.h')
-rw-r--r--src/mame/includes/triplhnt.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/src/mame/includes/triplhnt.h b/src/mame/includes/triplhnt.h
index 2f7df70c8f4..cbddabca136 100644
--- a/src/mame/includes/triplhnt.h
+++ b/src/mame/includes/triplhnt.h
@@ -20,18 +20,23 @@ class triplhnt_state : public driver_device
{
public:
triplhnt_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_vpos_ram(*this, "vpos_ram"),
+ m_hpos_ram(*this, "hpos_ram"),
+ m_orga_ram(*this, "orga_ram"),
+ m_code_ram(*this, "code_ram"){ }
UINT8 m_cmos[16];
UINT8 m_da_latch;
UINT8 m_misc_flags;
UINT8 m_cmos_latch;
UINT8 m_hit_code;
- UINT8* m_playfield_ram;
- UINT8* m_vpos_ram;
- UINT8* m_hpos_ram;
- UINT8* m_code_ram;
- UINT8* m_orga_ram;
+ required_shared_ptr<UINT8> m_playfield_ram;
+ required_shared_ptr<UINT8> m_vpos_ram;
+ required_shared_ptr<UINT8> m_hpos_ram;
+ required_shared_ptr<UINT8> m_orga_ram;
+ required_shared_ptr<UINT8> m_code_ram;
int m_sprite_zoom;
int m_sprite_bank;
bitmap_ind16 m_helper;