summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/tc009xlvc.cpp
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2015-12-19 20:05:35 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2015-12-19 20:05:35 +0100
commita8cef0ae39675229962144c0b050b24401bb03ed (patch)
treefbafe4043007ce5e831136f77390c7e203276d0f /src/devices/machine/tc009xlvc.cpp
parent497c20443163d4aca9378ff846b17c6cfd5eb563 (diff)
global_alloc for m_gfxdecode->set_gfx changed to work with unique_ptr (nw)
Diffstat (limited to 'src/devices/machine/tc009xlvc.cpp')
-rw-r--r--src/devices/machine/tc009xlvc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/machine/tc009xlvc.cpp b/src/devices/machine/tc009xlvc.cpp
index 32c02a32db7..724bd5edf16 100644
--- a/src/devices/machine/tc009xlvc.cpp
+++ b/src/devices/machine/tc009xlvc.cpp
@@ -297,7 +297,7 @@ void tc0091lvc_device::device_start()
//printf("m_gfx_index %d\n", m_gfx_index);
- m_gfxdecode->set_gfx(m_gfx_index, global_alloc(gfx_element(m_palette, char_layout, (UINT8 *)m_pcg_ram, 0, m_palette->entries() / 16, 0)));
+ m_gfxdecode->set_gfx(m_gfx_index, std::make_unique<gfx_element>(m_palette, char_layout, (UINT8 *)m_pcg_ram, 0, m_palette->entries() / 16, 0));
}
void tc0091lvc_device::device_reset()