mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-18 23:37:57 -05:00
In the PWM audio we output, instead of each group of 512 bits consisting of a run of ones followed by a run of zeroes, now each group of 32 bits consists of a run of ones followed by a run of zeroes. This gets rid of noise that was previously present. Doing this for every group of 8 bits instead makes the Game Boy Player Start-Up Disc not start correctly for some reason. Game Boy Interface works fine, though. I also made us not discard the bottom 7 bits of each PCM sample. According to Extrems, a real GBA doesn't actually output that many bits, but doing it in this way makes the code simpler anyway.