X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Futil.h;h=789e63e4e23daa266799d1b24b566ae10b67eba7;hb=a87d38e5a23ab489b6486ed4c62f30054719d39e;hp=5181ba11682505cd51f923c99b46cfbb0026e7d6;hpb=2718dd43c524c4b313de8acc3cc97c497810064b;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]