mirror of
https://github.com/irmen/prog8.git
synced 2024-12-24 16:29:21 +00:00
Merge branch 'v8_maintenance'
This commit is contained in:
commit
544acd1e35
@ -87,8 +87,9 @@ psg {
|
||||
envelope_attacks[voice_num] = attack
|
||||
envelope_sustains[voice_num] = sustain
|
||||
envelope_releases[voice_num] = release
|
||||
if maxvolume<envelope_volumes[voice_num]
|
||||
envelope_volumes[voice_num] = maxvolume
|
||||
cx16.r0 = mkword(maxvolume, 0)
|
||||
if cx16.r0<envelope_volumes[voice_num]
|
||||
envelope_volumes[voice_num] = cx16.r0
|
||||
envelope_maxvolumes[voice_num] = maxvolume
|
||||
envelope_states[voice_num] = 0
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user