aoineko-fr / MSXgl

The MSX Game Library in C language
113 stars 9 forks source link

Cos and Sin tables are unsigned #41

Open artrag opened 4 months ago

artrag commented 4 months ago

Cos and sin tables should be signed, this is causing the s_clock.c example to fail with SDCC 4.4 If you need to keep trigonometric tables unsigned you need to cast then to signed each time you use them In attach the s_clock.c fixed without changing the trigonometric tables

s_clock.c.txt