summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/namcoic.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/drivers/namcoic.c')
-rw-r--r--src/mame/drivers/namcoic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mame/drivers/namcoic.c b/src/mame/drivers/namcoic.c
index 58193757dbc..bda14a94146 100644
--- a/src/mame/drivers/namcoic.c
+++ b/src/mame/drivers/namcoic.c
@@ -888,7 +888,7 @@ void namcos2_shared_state::c355_obj_init(int gfxbank, int pal_xor, c355_obj_code
else
m_c355_obj_code2tile = c355_obj_code2tile_delegate(FUNC(namcos2_shared_state::c355_obj_default_code2tile), this);
- memset(&m_c355_obj_ram[0], 0, memshare("objram")->bytes()); // needed for Nebulas Ray
+ memset(m_c355_obj_ram, 0, sizeof(m_c355_obj_ram)); // needed for Nebulas Ray
memset(m_c355_obj_position, 0, sizeof(m_c355_obj_position));
}