diff options
author | 2012-09-18 05:28:33 +0000 | |
---|---|---|
committer | 2012-09-18 05:28:33 +0000 | |
commit | e33b41ee01305193efd57ec4cebbf73aa4d15c3c (patch) | |
tree | 34cc7e4dd4264dc727b4d624481010be9bdeb5ed /src/mess/machine/mc68328.c | |
parent | 7917a1a8a0f5d00c6977198a77ce0b10a0315569 (diff) |
Stop allocating arrays of UINT8s for the tokens, when
we can allocate objects of the real type.
Diffstat (limited to 'src/mess/machine/mc68328.c')
-rw-r--r-- | src/mess/machine/mc68328.c | 2 |
1 files changed, 1 insertions, 1 deletions
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::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); } //------------------------------------------------- |