summaryrefslogtreecommitdiff
path: root/audio/engine.asm
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-02-02 22:55:38 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-02-02 22:55:38 -0500
commite32e5212af3783f530af884852570d8003e69486 (patch)
tree895ce2f17a0354bf4beef7818434495b9d60f237 /audio/engine.asm
parent45373ec601e5af5bc2be7a72b8556e4311efdc05 (diff)
use "x + -1" not "x +- 1"
(TODO: use "x - 1" once rgbds allows it)
Diffstat (limited to 'audio/engine.asm')
-rw-r--r--audio/engine.asm4
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/engine.asm b/audio/engine.asm
index b097648c2..21a99f149 100644
--- a/audio/engine.asm
+++ b/audio/engine.asm
@@ -1320,7 +1320,7 @@ GetNoiseSample: ; e86c5
; load ptr to sample header in NoiseSampleAddress
; are we on the last channel?
ld a, [CurChannel]
- and NUM_MUSIC_CHANS +- 1
+ and NUM_MUSIC_CHANS + -1
cp CHAN4
; ret if not
ret nz
@@ -2102,7 +2102,7 @@ Music_Volume: ; e89d2
; e89e1
Music_TempoRelative: ; e89e1
-; set global tempo to current channel tempo +- param
+; set global tempo to current channel tempo +/- param
; params: 1 signed
call GetMusicByte
ld e, a