summaryrefslogtreecommitdiff
path: root/macros/code.asm
diff options
context:
space:
mode:
authorRangi <35663410+Rangi42@users.noreply.github.com>2020-04-23 16:35:47 -0400
committerGitHub <noreply@github.com>2020-04-23 16:35:47 -0400
commit38cdad798dbae4a2820f4d4e61bc5b782e70ef47 (patch)
treede7e01b62c621497846e4778291fe4f81151376e /macros/code.asm
parent2d3a94b7c4ba033bdbfa382611a18b71a68349d4 (diff)
parent8a3c44fad3a1d3c4f6b65f34d4e17d9359969177 (diff)
Merge pull request #714 from Rangi42/master
Miscellaneous updates and corrections
Diffstat (limited to 'macros/code.asm')
-rw-r--r--macros/code.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/code.asm b/macros/code.asm
index 58d39aa00..c92e7132f 100644
--- a/macros/code.asm
+++ b/macros/code.asm
@@ -51,7 +51,7 @@ calc_sine_wave: MACRO
; input: a = a signed 6-bit value
; output: a = d * sin(a * pi/32)
and %111111
- cp %100000
+ cp %100000
jr nc, .negative\@
call .apply\@
ld a, h