Search found 3 matches

by perli55
Thu Oct 13, 2011 7:38 pm
Forum: devkitPSP
Topic: Could somebody make a bit complex function for me :P
Replies: 0
Views: 12713

Could somebody make a bit complex function for me :P

This is pretty dumb but i am unable to figure it out :S It should draw a box but the vectors can be of any position, so top-left,top-right,down-left,down-right order restriction is bypassed, it connect all the points with a line in the given order and fills the inside and all with the given 32-bit c...
by perli55
Mon Aug 29, 2011 1:50 pm
Forum: devkitPPC
Topic: Reading array causes crash ,stupid error?
Replies: 2
Views: 4640

Re: Reading array causes crash ,stupid error?

Your world array is larger than the stack allocated to the main thread, either declare it globally (outside your main function) or allocate it dynamically using new or malloc. I have no idea what <grrlib.h> or <ML.h> are either but you should probably be aware that we provide no support for librari...
by perli55
Sun Aug 28, 2011 7:44 pm
Forum: devkitPPC
Topic: Reading array causes crash ,stupid error?
Replies: 2
Views: 4640

Reading array causes crash ,stupid error?

When I read from the array called "world" , my wii crashes and dolphin emulator gives the error "tring to compile at 0,LR=00000000", this is my code: #include <stdlib.h> #include <grrlib.h> #include <math.h> #include <ML.h> #define BLACK 0xFFFFFFFF #define RED 0xFF0000FF #define ...