From 174720a64ddeed98078139dc0e4dd7aed15f91d4 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 17 Dec 2015 11:10:30 +0100 Subject: 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 --- src/devices/video/snes_ppu.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/devices/video/snes_ppu.h') diff --git a/src/devices/video/snes_ppu.h b/src/devices/video/snes_ppu.h index f9fa754b549..0fa3f830aef 100644 --- a/src/devices/video/snes_ppu.h +++ b/src/devices/video/snes_ppu.h @@ -267,9 +267,9 @@ public: DECLARE_WRITE8_MEMBER( cgram_write ); DECLARE_READ8_MEMBER( vram_read ); DECLARE_WRITE8_MEMBER( vram_write ); - UINT16 *m_oam_ram; /* Object Attribute Memory */ - UINT16 *m_cgram; /* Palette RAM */ - UINT8 *m_vram; /* Video RAM (TODO: Should be 16-bit, but it's easier this way) */ + std::unique_ptr m_oam_ram; /* Object Attribute Memory */ + std::unique_ptr m_cgram; /* Palette RAM */ + std::unique_ptr m_vram; /* Video RAM (TODO: Should be 16-bit, but it's easier this way) */ protected: // device-level overrides -- cgit v1.2.3