diff options
author | Miodrag Milanovic <mmicko@gmail.com> | 2015-12-17 11:10:30 +0100 |
---|---|---|
committer | Miodrag Milanovic <mmicko@gmail.com> | 2015-12-17 11:10:30 +0100 |
commit | 174720a64ddeed98078139dc0e4dd7aed15f91d4 (patch) | |
tree | b22e4fb4f1a210751cadc5aa01d73113b8e9857f /src/mame/includes/namcos22.h | |
parent | be38cd71bb958d651ba91db8db439edc9c31b21e (diff) |
removed auto_bitmap_ind*_alloc and auto_bitmap_rgb32_alloc and replaced with std::unique_ptr (nw)
auto_alloc_array to unique_ptr
Added make_unique_clear
Diffstat (limited to 'src/mame/includes/namcos22.h')
-rw-r--r-- | src/mame/includes/namcos22.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/includes/namcos22.h b/src/mame/includes/namcos22.h index 9d1ea7b7f7b..d37cd80e234 100644 --- a/src/mame/includes/namcos22.h +++ b/src/mame/includes/namcos22.h @@ -271,9 +271,9 @@ public: int m_cz_adjust; namcos22_renderer *m_poly; UINT16 *m_texture_tilemap; - UINT8 *m_texture_tileattr; + std::unique_ptr<UINT8[]> m_texture_tileattr; UINT8 *m_texture_tiledata; - UINT8 *m_texture_ayx_to_pixel; + std::unique_ptr<UINT8[]> m_texture_ayx_to_pixel; UINT16 m_dspram_bank; UINT16 m_dspram16_latch; bool m_slave_simulation_active; @@ -287,8 +287,8 @@ public: unsigned m_LitSurfaceIndex; int m_pointrom_size; INT32 *m_pointrom; - UINT8 *m_dirtypal; - bitmap_ind16 *m_mix_bitmap; + std::unique_ptr<UINT8[]> m_dirtypal; + std::unique_ptr<bitmap_ind16> m_mix_bitmap; tilemap_t *m_bgtilemap; int m_mixer_flags; |