Mercurial > repos > blastem
diff ym2612.c @ 2287:8a918eb95ba8
Fix LFO regression
author | Michael Pavone <pavone@retrodev.com> |
---|---|
date | Sat, 14 Jan 2023 09:23:50 -0800 |
parents | 5a53a8453241 |
children | 0343f0d5add0 |
line wrap: on
line diff
--- a/ym2612.c Fri Jan 13 23:42:46 2023 -0800 +++ b/ym2612.c Sat Jan 14 09:23:50 2023 -0800 @@ -424,7 +424,7 @@ context->lfo_am_step &= 0xFE; context->lfo_pm_step = context->lfo_am_step / 8; } else { - context->lfo_counter--; + context->lfo_counter++; } } else { context->lfo_am_step = context->lfo_pm_step = 0;