use "x + -1" not "x +- 1"

(TODO: use "x - 1" once rgbds allows it)
This commit is contained in:
Rangi
2018-02-02 22:55:38 -05:00
parent 45373ec601
commit e32e5212af
27 changed files with 36 additions and 37 deletions

View File

@@ -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"