diff options
author | 2015-12-17 11:10:30 +0100 | |
---|---|---|
committer | 2015-12-17 11:10:30 +0100 | |
commit | 174720a64ddeed98078139dc0e4dd7aed15f91d4 (patch) | |
tree | b22e4fb4f1a210751cadc5aa01d73113b8e9857f /src/devices/video/vic4567.cpp | |
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/devices/video/vic4567.cpp')
-rw-r--r-- | src/devices/video/vic4567.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/vic4567.cpp b/src/devices/video/vic4567.cpp index e04a4851dcc..8df490408f8 100644 --- a/src/devices/video/vic4567.cpp +++ b/src/devices/video/vic4567.cpp @@ -172,7 +172,7 @@ void vic3_device::device_start() width = m_screen->width(); height = m_screen->height(); - m_bitmap = auto_bitmap_ind16_alloc(machine(), width, height); + m_bitmap = std::make_unique<bitmap_ind16>(width, height); m_dma_read_cb.resolve_safe(0); m_dma_read_color_cb.resolve_safe(0); |