From 6e8d38fabe72d2525e7d17e96e65fce2eae50cb9 Mon Sep 17 00:00:00 2001 From: adelikat Date: Sat, 4 Aug 2012 00:57:26 +0000 Subject: [PATCH] NES - disable vrc6 sound for now --- BizHawk.Emulation/Sound/VRC6.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/BizHawk.Emulation/Sound/VRC6.cs b/BizHawk.Emulation/Sound/VRC6.cs index 011ae148db..812054b7b9 100644 --- a/BizHawk.Emulation/Sound/VRC6.cs +++ b/BizHawk.Emulation/Sound/VRC6.cs @@ -11,17 +11,17 @@ namespace BizHawk.Emulation.Sound public int MaxVolume { get; set; } public void GetSamples(short[] samples) { - for (int i = 0; i < samples.Length; ) - { - short val = 0; - val = Pulse1.RenderSample(); - val *= Pulse2.RenderSample(); - val *= Sawtooth.RenderSample(); - val = (short)((val * MaxVolume) / short.MaxValue); + //for (int i = 0; i < samples.Length; ) + //{ + // short val = 0; + // val = Pulse1.RenderSample(); + // val += Pulse2.RenderSample(); + // val += Sawtooth.RenderSample(); + // val = (short)((val * MaxVolume) / short.MaxValue); - samples[i++] = val; - samples[i++] = val; - } + // samples[i++] = val; + // samples[i++] = val; + //} } public VRC6()