summaryrefslogtreecommitdiff
path: root/asm/macros
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2016-08-25 20:22:36 -0700
committerMarcus Huderle <huderlem@gmail.com>2016-08-25 20:22:36 -0700
commita4c54db04a8956f72e66cc69afc4dc14bb752aaa (patch)
tree8c3877833698507da29d747c5bf6ba994ddfc48e /asm/macros
parent7e2fd52543ed0e0d6fec0aa88137ceec7a2f9a1b (diff)
Add extra directsound macro.
Diffstat (limited to 'asm/macros')
-rw-r--r--asm/macros/music_voice.s5
1 files changed, 5 insertions, 0 deletions
diff --git a/asm/macros/music_voice.s b/asm/macros/music_voice.s
index 0d3ac58e0..9a95d69f4 100644
--- a/asm/macros/music_voice.s
+++ b/asm/macros/music_voice.s
@@ -8,6 +8,11 @@
_voice_directsound \base_midi_key, \pan, \sample_data_pointer, \attack, \decay, \sustain, \release
.endm
+ .macro voice_directsound_alt base_midi_key, pan, sample_data_pointer, attack, decay, sustain, release
+ .byte 16
+ _voice_directsound \base_midi_key, \pan, \sample_data_pointer, \attack, \decay, \sustain, \release
+ .endm
+
.macro _voice_directsound base_midi_key, pan, sample_data_pointer, attack, decay, sustain, release
.byte \base_midi_key
.byte 0