Closed MassiveBattlebotsFan closed 5 months ago
3cfb4b9 fixes an issue with the SID mixing in audio_complex.vhdl that would cause audio clicks on overflow.
I have tested this with about 20 games and demos so far. It fixes reproducible distortion in the 8580 SID. I have not detected any problems yet.
Superseded by #801.
Fixed a bug in multiply_by_volume_coefficient that would convert an input value of $8000 to $0000 instead of $8000 * volume.
Added code to store $8000 in mixed_value when the value being added to mixed_value would result in an integer over/underflow.
Resolves #793. Tested on my R3A with ROM v920395 over 3.5mm, unable to test HDMI audio out.