diff options
Diffstat (limited to 'macros/data.asm')
-rw-r--r-- | macros/data.asm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macros/data.asm b/macros/data.asm index 1806f5f59..0c9ef91f0 100644 --- a/macros/data.asm +++ b/macros/data.asm @@ -112,7 +112,7 @@ ENDM sine_wave: MACRO -x = 0 +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" |