From 6e07602d77a1096215719913a23844492c7848ee Mon Sep 17 00:00:00 2001 From: Irmen de Jong Date: Sun, 28 May 2023 22:30:34 +0200 Subject: [PATCH] fix psg initial envelope maxvol setting --- compiler/res/prog8lib/cx16/psg.p8 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/compiler/res/prog8lib/cx16/psg.p8 b/compiler/res/prog8lib/cx16/psg.p8 index 0d5a0c850..2293d596a 100644 --- a/compiler/res/prog8lib/cx16/psg.p8 +++ b/compiler/res/prog8lib/cx16/psg.p8 @@ -97,8 +97,9 @@ psg { envelope_attacks[voice_num] = attack envelope_sustains[voice_num] = sustain envelope_releases[voice_num] = release - if maxvolume