summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRangi <remy.oukaour+rangi42@gmail.com>2018-02-03 01:55:22 -0500
committerRangi <remy.oukaour+rangi42@gmail.com>2018-02-03 01:55:22 -0500
commitd11cac9e833a9c2188415cfeb6de7d4687336c2f (patch)
tree55af8e006acd08d3c8b39c571cc544e5a1d8523d
parente32e5212af3783f530af884852570d8003e69486 (diff)
can't achieve this with rgbds 0.3.5
-rw-r--r--macros/data.asm2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/data.asm b/macros/data.asm
index 0c9ef91f0..1543e601d 100644
--- a/macros/data.asm
+++ b/macros/data.asm
@@ -115,7 +115,7 @@ sine_wave: MACRO
x = 0.0
rept \1
dw (sin(x) + (sin(x) & $ff)) >> 8 ; round up
-x = x + (32768.0 / \1) ; a circle has 65536.0 "degrees"
+x = x + 1024.0 ; a circle has 65536.0 "degrees"
endr
ENDM