summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/3dom2_te.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/3dom2_te.h')
-rw-r--r--src/mame/video/3dom2_te.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mame/video/3dom2_te.h b/src/mame/video/3dom2_te.h
index 43012513b91..bf318dfe9af 100644
--- a/src/mame/video/3dom2_te.h
+++ b/src/mame/video/3dom2_te.h
@@ -35,7 +35,7 @@ public:
DECLARE_READ32_MEMBER(read);
DECLARE_WRITE32_MEMBER(write);
- uint32_t *tram_ptr() const { return m_tram; }
+ uint32_t *tram_ptr() const { return &m_tram[0]; }
enum te_reg_wmode
{
@@ -408,8 +408,8 @@ private:
te_state m_state;
- uint32_t *m_pipram;
- uint32_t *m_tram;
+ std::unique_ptr<uint32_t[]> m_pipram;
+ std::unique_ptr<uint32_t[]> m_tram;
};
DECLARE_DEVICE_TYPE(M2_TE, m2_te_device)