Revert "Revert "fix YMF276-LLE""

This reverts commit ad42b37fb6.
This commit is contained in:
tildearrow 2025-04-13 16:05:13 -05:00
parent 9941403bad
commit d9abd551a2

View file

@ -1866,11 +1866,11 @@ void FMOPN2_Operator1(fmopn2_t *chip)
} }
if (chip->alg_mod_prev_0) if (chip->alg_mod_prev_0)
{ {
mod2 |= chip->op_output[1]; mod2 |= chip->op_output[1] & 0x3fff;
} }
if (chip->alg_mod_prev_1) if (chip->alg_mod_prev_1)
{ {
mod1 |= chip->op_output[1]; mod1 |= chip->op_output[1] & 0x3fff;
} }
if (mod1 & (1 << 13)) if (mod1 & (1 << 13))
mod1 |= 1 << 14; mod1 |= 1 << 14;