summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/tc8830f.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/tc8830f.c')
-rw-r--r--src/emu/sound/tc8830f.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/emu/sound/tc8830f.c b/src/emu/sound/tc8830f.c
index 07a8d9ca27c..3ef03fb8578 100644
--- a/src/emu/sound/tc8830f.c
+++ b/src/emu/sound/tc8830f.c
@@ -111,22 +111,22 @@ void tc8830f_device::sound_stream_update(sound_stream &stream, stream_sample_t *
m_delta -= 8;
if (m_delta <= 0)
m_delta = 1;
-
+
// determine direction
if (bit)
m_output += m_delta;
else
m_output -= m_delta;
-
+
if (m_output > 32767)
m_output = 32767;
else if (m_output < -32768)
m_output = -32768;
-
+
m_prevbits = m_prevbits << 1 | bit;
mix = m_output;
}
-
+
outputs[0][i] = mix;
}
}