[hatari-devel] Use correct white noise

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


This patch uses the correct LFSR for the YM2149. The previous must
have had a typo. currentNoise ^= YM2149_RndCompute() is corrected.
BTW the noise doesn't sound different.

The code is also optimized in Galois form.

see: (also note 17 stage table at end)


Attachment: sound.c.diff
Description: Binary data

Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/