X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Futil.h;fp=src%2Futil.h;h=789e63e4e23daa266799d1b24b566ae10b67eba7;hb=f6bf5b7710b9a695ddaef0ad929796a4e151268e;hp=5181ba11682505cd51f923c99b46cfbb0026e7d6;hpb=b88c03f1cf5b5f66bec905e5b43e797abf8c18e0;p=gbajam21 diff --git a/src/util.h b/src/util.h index 5181ba1..789e63e 100644 --- a/src/util.h +++ b/src/util.h @@ -20,7 +20,7 @@ ((uint16_t*)CRAM_BG_ADDR)[idx] = (uint16_t)(r) | ((uint16_t)(g) << 5) | ((uint16_t)(b) << 10); \ } while(0) -extern int8_t sinlut[]; +extern int16_t sinlut[]; #define SIN(x) sinlut[(x) & 0xff] #define COS(x) sinlut[((x) + 64) & 0xff]