shithub: choc

Download patch

ref: 3dd823caaba8ba1a7d5a3271416b5b6f30b266cf
parent: 2ecfe698d584cccfffdf96bf6ff238535cbc0e5a
author: Fabian Greffrath <fabian@greffrath.com>
date: Fri Dec 11 09:11:29 EST 2015

tables.c: Changed type of finetangent[]/finesine[] to fixed_t

--- a/src/tables.c
+++ b/src/tables.c
@@ -61,7 +61,7 @@
     }
 }
 
-const int finetangent[4096] =
+const fixed_t finetangent[4096] =
 {
     -170910304,-56965752,-34178904,-24413316,-18988036,-15535599,-13145455,-11392683,
     -10052327,-8994149,-8137527,-7429880,-6835455,-6329090,-5892567,-5512368,
@@ -578,7 +578,7 @@
 };
 
 
-const int finesine[10240] =
+const fixed_t finesine[10240] =
 {
     25,75,125,175,226,276,326,376,
     427,477,527,578,628,678,728,779,