From e33b41ee01305193efd57ec4cebbf73aa4d15c3c Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Tue, 18 Sep 2012 05:28:33 +0000 Subject: Stop allocating arrays of UINT8s for the tokens, when we can allocate objects of the real type. --- src/mess/machine/mc68328.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mess/machine/mc68328.c') diff --git a/src/mess/machine/mc68328.c b/src/mess/machine/mc68328.c index 9ca94931ff6..51d559e9945 100644 --- a/src/mess/machine/mc68328.c +++ b/src/mess/machine/mc68328.c @@ -2840,7 +2840,7 @@ const device_type MC68328 = &device_creator; mc68328_device::mc68328_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MC68328, "Motorola MC68328 (DragonBall) Integrated Processor", tag, owner, clock) { - m_token = global_alloc_array_clear(UINT8, sizeof(mc68328_t)); + m_token = global_alloc_clear(mc68328_t); } //------------------------------------------------- -- cgit v1.2.3-70-g09d2