summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/crt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/crt.cpp')
-rw-r--r--src/mame/video/crt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/video/crt.cpp b/src/mame/video/crt.cpp
index c4a13af52a0..68af26f59ba 100644
--- a/src/mame/video/crt.cpp
+++ b/src/mame/video/crt.cpp
@@ -70,7 +70,7 @@ crt_device::crt_device(const machine_config &mconfig, const char *tag, device_t
void crt_device::device_start()
{
/* alloc the arrays */
- m_list = auto_alloc_array(machine(), crt_point, m_window_width * m_window_height);
+ m_list = std::make_unique<crt_point[]>(m_window_width * m_window_height);
m_list_head = std::make_unique<int[]>(m_window_height);
/* fill with black and set up list as empty */