Revert "Revert "fix tremolo in YM3812-LLE""

This reverts commit 26817ca1fb.
This commit is contained in:
tildearrow 2025-04-13 16:04:38 -05:00
parent a3b77edbba
commit edea3bc1b6

View file

@ -1026,7 +1026,7 @@ void FMOPL2_Clock(fmopl2_t *chip)
if (!chip->am)
tremolo = 0;
else if (chip->reg_dv)
else if (chip->reg_da)
tremolo = chip->trem_out >> 2;
else
tremolo = chip->trem_out >> 4;