fix tremolo in YM3812-LLE

This commit is contained in:
freq-mod 2025-04-13 17:15:47 +02:00
parent e4ffb2b3d3
commit 04ec880b50

View file

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