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/micropolis.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/micropolis.c')
-rw-r--r-- | src/mess/machine/micropolis.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mess/machine/micropolis.c b/src/mess/machine/micropolis.c index 5919694ab65..4a026859dd3 100644 --- a/src/mess/machine/micropolis.c +++ b/src/mess/machine/micropolis.c @@ -381,7 +381,7 @@ const device_type MICROPOLIS = &device_creator<micropolis_device>; micropolis_device::micropolis_device(const machine_config &mconfig, const char *tag, device_t *owner, UINT32 clock) : device_t(mconfig, MICROPOLIS, "MICROPOLIS", tag, owner, clock) { - m_token = global_alloc_array_clear(UINT8, sizeof(micropolis_state)); + m_token = global_alloc_clear(micropolis_state); } //------------------------------------------------- |