From d11cac9e833a9c2188415cfeb6de7d4687336c2f Mon Sep 17 00:00:00 2001 From: Rangi Date: Sat, 3 Feb 2018 01:55:22 -0500 Subject: [PATCH] can't achieve this with rgbds 0.3.5 --- macros/data.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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