mirror of https://github.com/mgba-emu/mgba.git
GB Audio: Fix channel 4 volume (fixes #1529)
This commit is contained in:
parent
9886bce155
commit
0e92a22840
|
@ -770,7 +770,7 @@ static int32_t _updateSquareChannel(struct GBAudioSquareChannel* ch) {
|
|||
|
||||
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;
|
||||
|
|
Loading…
Reference in New Issue