summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/kr2376.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-18 05:28:33 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-18 05:28:33 +0000
commite33b41ee01305193efd57ec4cebbf73aa4d15c3c (patch)
tree34cc7e4dd4264dc727b4d624481010be9bdeb5ed /src/mess/machine/kr2376.c
parent7917a1a8a0f5d00c6977198a77ce0b10a0315569 (diff)
Stop allocating arrays of UINT8s for the tokens, when
we can allocate objects of the real type.
Diffstat (limited to 'src/mess/machine/kr2376.c')
-rw-r--r--src/mess/machine/kr2376.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/kr2376.c b/src/mess/machine/kr2376.c
index 7f8667ab61a..8115e92cc0d 100644
--- a/src/mess/machine/kr2376.c
+++ b/src/mess/machine/kr2376.c
@@ -379,7 +379,7 @@ const device_type KR2376 = &device_creator<kr2376_device>;
kr2376_device::kr2376_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock)
: device_t(mconfig, KR2376, "SMC KR2376", tag, owner, clock)
{
- m_token = global_alloc_array_clear(UINT8, sizeof(kr2376_t));
+ m_token = global_alloc_clear(kr2376_t);
}
//-------------------------------------------------