Only include su_delay_times into source when a delay unit is present.

This commit is contained in:
Alexander Kraus 2024-08-14 13:57:47 +02:00
parent 2667c3c72c
commit e63e94a3f4
No known key found for this signature in database
GPG Key ID: 780483FD838A6FDE

View File

@ -229,6 +229,7 @@ su_update_voices_skipadd:
{{- end}}
{{end}}
{{- if .HasOp "delay"}}
{{- if gt (.DelayTimes | len ) 0}}
;-------------------------------------------------------------------------------
; Delay times
@ -236,6 +237,7 @@ su_update_voices_skipadd:
{{.Data "su_delay_times"}}
dw {{.DelayTimes | toStrings | join ","}}
{{end}}
{{end}}
;-------------------------------------------------------------------------------
; The code for this patch, basically indices to vm jump table