Hi,
I've just switched my compiler from ADS to GCC, and I noticed a few odd things had started going wrong. I then realised, it was the sin() and cos() routines that weren't working correctly.
If you are using DevKitAdv, then do this, it may solve your problem:
First, make sure you are doing...