# HG changeset patch # User Michael Pavone # Date 1673717030 28800 # Node ID 8a918eb95ba8d458cb5737b963842cf1ed127df2 # Parent 5d3411f52d006d7f26574dbf63a03dcf7b6171ce Fix LFO regression diff -r 5d3411f52d00 -r 8a918eb95ba8 ym2612.c --- 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;