summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/sound/tms5220.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emu/sound/tms5220.c')
-rw-r--r--src/emu/sound/tms5220.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/emu/sound/tms5220.c b/src/emu/sound/tms5220.c
index fb13dc212bc..e164557f8c5 100644
--- a/src/emu/sound/tms5220.c
+++ b/src/emu/sound/tms5220.c
@@ -700,13 +700,7 @@ tryagain:
}
}
- if (tms->old_energy == 0)
- {
- /* generate silent samples here */
- tms->excitation_data = 0x00; /* This is NOT correct, the current_energy is forced to zero when we just passed a zero energy frame because thats what the tables hold for that value.
- However, this code does no harm. Will be removed later. */
- }
- else if (tms->old_pitch == 0)
+ if (tms->old_pitch == 0)
{
/* generate unvoiced samples here */
if (tms->RNG & 1)