FPU

I’ve spent two awful weeks debugging stupid stuff. Although it made me learn a lot about debugging techniques in Visual Studio, it was overall an incredible waste of time.

I still didn’t figure out what was going on on the PSP that made it randomly crash, but because it was a FPU (Floating Point Unit) Exception, I temporarily disabled FPU Exceptions. This works, but… it still means that somewhere in my code there’s a nasty division by 0 or something… oh well, doesn’t seem to have any impact on the game so…

  1. walar’s avatar

    thanks for the tip, i had a FPU exeption on PSP but not on VC, i disabled fpu exeptions and now all work fine.

    Reply

  2. davidgf’s avatar

    Hey! How do you disable FPU exceptions in the PSP?

    Reply

  3. wololo’s avatar

    pspfpu_set_enable(0);

    (requires #include pspfpu.h)

    Reply

  4. Qwerty’s avatar

    IS THIS THE FIRST ARTICLE????????????????

    Reply

Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>