GBA Audio: Fix stereo in XQ audio

This commit is contained in:
Vicki Pfau 2020-08-19 15:43:43 -07:00
parent 1932dc1fef
commit 106685c1cd
2 changed files with 2 additions and 1 deletions

View File

@ -20,6 +20,7 @@ Emulation fixes:
- GB Video: Fix state after skipping BIOS (fixes mgba.io/i/1715 and mgba.io/i/1716)
- GBA: Fix timing advancing too quickly in rare cases
- GBA Audio: Fix deserializing SOUNDCNT_L
- GBA Audio: Fix stereo in XQ audio
- GBA BIOS: Implement dummy sound driver calls
- GBA BIOS: Improve HLE BIOS timing
- GBA BIOS: Fix reloading video registers after reset (fixes mgba.io/i/1808)

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;
}