diff --git a/vm/compiler/templates/amd64-386/player.asm b/vm/compiler/templates/amd64-386/player.asm index a52efcc..8e1dd20 100644 --- a/vm/compiler/templates/amd64-386/player.asm +++ b/vm/compiler/templates/amd64-386/player.asm @@ -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