summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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