diff options
author | 2012-09-18 05:28:33 +0000 | |
---|---|---|
committer | 2012-09-18 05:28:33 +0000 | |
commit | e33b41ee01305193efd57ec4cebbf73aa4d15c3c (patch) | |
tree | 34cc7e4dd4264dc727b4d624481010be9bdeb5ed /src/emu/machine/mb87078.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/emu/machine/mb87078.c')
-rw-r--r-- | src/emu/machine/mb87078.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emu/machine/mb87078.c b/src/emu/machine/mb87078.c index 234296d08b1..a681a5c2bd5 100644 --- a/src/emu/machine/mb87078.c +++ b/src/emu/machine/mb87078.c @@ -270,7 +270,7 @@ const device_type MB87078 = &device_creator<mb87078_device>; mb87078_device::mb87078_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MB87078, "Fujitsu MB87078", tag, owner, clock) { - m_token = global_alloc_array_clear(UINT8, sizeof(mb87078_state)); + m_token = global_alloc_clear(mb87078_state); } //------------------------------------------------- |