summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu
diff options
context:
space:
mode:
author Ivan Vangelista <mesgnet@yahoo.it>2014-05-13 16:55:47 +0000
committer Ivan Vangelista <mesgnet@yahoo.it>2014-05-13 16:55:47 +0000
commit41afc28498b64234680b70262a18939f94b1a051 (patch)
treecc9f2b3b1f10e6c137206abde6b8a4ff25e0d720 /src/emu
parent626aed8fabe3617704a897f30efa0c1b430e8660 (diff)
Fix for snk.c buzzing sound on startup. To be verified during the next regression test. (nw)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/sound/snkwave.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/emu/sound/snkwave.c b/src/emu/sound/snkwave.c
index 2d6011c7118..1f04d05178c 100644
--- a/src/emu/sound/snkwave.c
+++ b/src/emu/sound/snkwave.c
@@ -29,6 +29,7 @@ snkwave_device::snkwave_device(const machine_config &mconfig, const char *tag, d
m_counter(0),
m_waveform_position(0)
{
+ memset(m_waveform, 0, sizeof(m_waveform));
}
//-------------------------------------------------
@@ -37,8 +38,6 @@ snkwave_device::snkwave_device(const machine_config &mconfig, const char *tag, d
void snkwave_device::device_start()
{
- assert(static_config() == 0);
-
/* adjust internal clock */
m_external_clock = clock();