summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video
diff options
context:
space:
mode:
author Miodrag Milanovic <mmicko@gmail.com>2016-01-08 12:41:13 +0100
committer Miodrag Milanovic <mmicko@gmail.com>2016-01-08 12:41:13 +0100
commitce75a5d6825066fc67539c4eafed5902a34f9457 (patch)
treeb66bb69abc3da5001a315428670d373240967cd7 /src/devices/video
parent12995ac3d44ac182efc213c67e0752388f1d7530 (diff)
removed memory tracking (nw)
Diffstat (limited to 'src/devices/video')
-rw-r--r--src/devices/video/polylgcy.cpp2
-rw-r--r--src/devices/video/voodoo.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/polylgcy.cpp b/src/devices/video/polylgcy.cpp
index b18c6941515..b5daf5a924b 100644
--- a/src/devices/video/polylgcy.cpp
+++ b/src/devices/video/polylgcy.cpp
@@ -315,7 +315,7 @@ legacy_poly_manager *poly_alloc(running_machine &machine, int max_polys, size_t
legacy_poly_manager *poly;
/* allocate the manager itself */
- poly = auto_alloc_clear(machine, legacy_poly_manager);
+ poly = auto_alloc_clear(machine, <legacy_poly_manager>());
poly->flags = flags;
/* allocate polygons */
diff --git a/src/devices/video/voodoo.cpp b/src/devices/video/voodoo.cpp
index 0b7167fde5f..07a3c06f815 100644
--- a/src/devices/video/voodoo.cpp
+++ b/src/devices/video/voodoo.cpp
@@ -5841,7 +5841,7 @@ voodoo_device::voodoo_device(const machine_config &mconfig, device_type type, co
m_vblank(*this),
m_stall(*this)
{
- m_token = global_alloc_clear(voodoo_state);
+ m_token = global_alloc_clear<voodoo_state>();
}
voodoo_device::~voodoo_device()