overdrivenpotato / rust-psp

Rust on PSP. Panic and allocation support. Access PSP system libraries.
Other
589 stars 31 forks source link

psp::math::cosf32 crashes PSP #113

Open Lucky4Luuk opened 2 years ago

Lucky4Luuk commented 2 years ago

Using the psp::math::cosf32 function crashes my PSP. It works fine in an emulator, but the moment I use that function on a real PSP, the console freezes and turns off after a few seconds.

overdrivenpotato commented 2 years ago

Did you enable the VFPU thread attribute? The example vfpu-addition shows how to do this.