GBA Audio: Fix stereo in XQ audio

This commit is contained in:
Vicki Pfau 2020-08-19 15:43:43 -07:00
parent 0000c396c0
commit e992a5cb6b
2 changed files with 2 additions and 1 deletions

View File

@ -3,6 +3,7 @@ Emulation fixes:
- GB Audio: Fix initial sweep state
- GB Audio: Fix deserializing audio channels 2 and 3
- GBA Audio: Fix deserializing SOUNDCNT_L
- GBA Audio: Fix stereo in XQ audio
- GBA Hardware: Fix GB Player detection on big endian platforms
- GBA Video: Invalidate map cache when modifying BGCNT (fixes mgba.io/i/1846)
Other fixes:

View File

@ -291,7 +291,7 @@ void _mp2kStep(struct GBAAudioMixer* mixer) {
}
if (mixer->p->externalMixing) {
blip_add_delta(mixer->p->psg.left, mixer->p->clock + i * interval, sample.left - mixer->last.left);
blip_add_delta(mixer->p->psg.right, mixer->p->clock + i * interval, sample.left - mixer->last.left);
blip_add_delta(mixer->p->psg.right, mixer->p->clock + i * interval, sample.right - mixer->last.right);
}
mixer->last = sample;
}