aboutsummaryrefslogtreecommitdiff
path: root/fmdriver/fmdriver_pmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'fmdriver/fmdriver_pmd.c')
-rw-r--r--fmdriver/fmdriver_pmd.c4
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) {