summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/tc0150rod.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/tc0150rod.c')
-rw-r--r--src/mame/video/tc0150rod.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mame/video/tc0150rod.c b/src/mame/video/tc0150rod.c
index 0bb0d9925cc..d03bb445613 100644
--- a/src/mame/video/tc0150rod.c
+++ b/src/mame/video/tc0150rod.c
@@ -25,7 +25,8 @@ tc0150rod_device::tc0150rod_device(const machine_config &mconfig, const char *ta
void tc0150rod_device::device_start()
{
- m_ram.resize_and_clear(TC0150ROD_RAM_SIZE / 2);
+ m_ram.resize(TC0150ROD_RAM_SIZE / 2);
+ memset(&m_ram[0], 0, TC0150ROD_RAM_SIZE);
save_item(NAME(m_ram));
m_roadgfx = (UINT16 *)region()->base();