diff options
author | Takamichi Horikawa <takamichiho@gmail.com> | 2017-08-21 01:57:51 +0900 |
---|---|---|
committer | Takamichi Horikawa <takamichiho@gmail.com> | 2017-08-21 01:57:51 +0900 |
commit | d6edfce6fe7b35c66293e2ed895e302a2078b746 (patch) | |
tree | d8721e7ede004e26cfc76ae58355ad834bc09483 /fmdriver/fmdriver_pmd.c | |
parent | c4cac5a7bcef3630505a01296e2f04ec6d0e93a3 (diff) |
PMD: fixed PPZ volume lfo overflow
Diffstat (limited to 'fmdriver/fmdriver_pmd.c')
-rw-r--r-- | fmdriver/fmdriver_pmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fmdriver/fmdriver_pmd.c b/fmdriver/fmdriver_pmd.c index a7ba18d..09a95a0 100644 --- a/fmdriver/fmdriver_pmd.c +++ b/fmdriver/fmdriver_pmd.c @@ -1729,8 +1729,8 @@ static void pmd_ppz8_vol_out( // 0ba4 if (part->lfof.vol || part->lfof_b.vol) { int32_t lfovol = 0; - if (part->lfof.vol) vol += part->lfo_diff; - if (part->lfof_b.vol) vol += part->lfo_diff_b; + if (part->lfof.vol) lfovol += part->lfo_diff; + if (part->lfof_b.vol) lfovol += part->lfo_diff_b; lfovol += vol; vol = lfovol; if (lfovol < 0) { |