From 14841c274fb87d369e13fafe90050df602470a59 Mon Sep 17 00:00:00 2001 From: smf- Date: Thu, 16 May 2013 18:18:42 +0000 Subject: [PATCH] fixed memset size (nw) --- src/emu/sound/ymf271.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/emu/sound/ymf271.c b/src/emu/sound/ymf271.c index ddacc045ad8..34a4b188197 100644 --- a/src/emu/sound/ymf271.c +++ b/src/emu/sound/ymf271.c @@ -1742,8 +1742,8 @@ ymf271_device::ymf271_device(const machine_config &mconfig, const char *tag, dev m_ext_read_handler(*this), m_ext_write_handler(*this) { - memset(m_slots, 0, sizeof(&m_slots)); - memset(m_groups, 0, sizeof(&m_groups)); + memset(m_slots, 0, sizeof(m_slots)); + memset(m_groups, 0, sizeof(m_groups)); } //-------------------------------------------------