summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/machine/ti99/datamux.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mess/machine/ti99/datamux.c')
-rw-r--r--src/mess/machine/ti99/datamux.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mess/machine/ti99/datamux.c b/src/mess/machine/ti99/datamux.c
index 5985a537156..88f48871392 100644
--- a/src/mess/machine/ti99/datamux.c
+++ b/src/mess/machine/ti99/datamux.c
@@ -410,8 +410,7 @@ void ti99_datamux_device::device_reset(void)
// better use a region?
if (m_ram16b==NULL)
{
- m_ram16b = global_alloc_array(UINT16, 32768/2);
- memset(m_ram16b, 0, 32768);
+ m_ram16b = global_alloc_array_clear(UINT16, 32768/2);
}
// Now building the list of active devices at this databus multiplex.