M src/audio/Audio.asm +2 -2
@@ 106,7 106,7 @@ Audio_Process:
jr c,Audio_ProcessPSG
cp 80H
jr c,Audio_ProcessOPLL
- jr z,Audio_ProcessEnd
+ jr z,Audio_ProcessJump
sub 80H
inc hl
ret
@@ 132,7 132,7 @@ Audio_ProcessOPLL:
; hl = command list
; hl <- next command
-Audio_ProcessEnd:
+Audio_ProcessJump:
inc hl
ld a,(hl)
inc hl
M src/audio/AudioTrack.asm +3 -3
@@ 30,9 30,9 @@ AudioCommandWait: MACRO ?time
AudioCommand 80H + ?time
ENDM
-AudioCommandEnd: MACRO ?loop
+AudioCommandJump: MACRO ?address
command:
AudioCommand 80H
- loop:
- dw ?loop & 1FFFH | 8000H
+ address:
+ dw ?address & 1FFFH | 8000H
ENDM
M tools/audio.js +1 -1
@@ 52,7 52,7 @@ class AudioTrack {
lines.push(`${this.name}_commands_loop:`);
lines.push(`\tAudioCommandWait 1`);
}
- lines.push(`\tAudioCommandEnd ${this.name}_commands_loop`);
+ lines.push(`\tAudioCommandJump ${this.name}_commands_loop`);
} else {
throw new Error("Unrecognised command.");
}