GB Audio: Fix channel 4 volume (fixes #1529)
Vicki Pfau vi@endrift.com
Thu, 19 Sep 2019 21:30:28 -0700
1 files changed,
1 insertions(+),
1 deletions(-)
jump to
M
src/gb/audio.c
→
src/gb/audio.c
@@ -770,7 +770,7 @@ }
static int16_t _coalesceNoiseChannel(struct GBAudioNoiseChannel* ch) { if (!ch->nSamples) { - return ch->sample; + return ch->sample << 3; } // TODO keep track of timing int16_t sample = (ch->samples << 3) / ch->nSamples;