Array Problems


screenBuf... I can't pinpoint the source either, it's strange. The only other things that i do to it is a function to clear it (which uses memset) and a function which reads from it and writes the data to the screen. I'll have another play around with it now. Its all a nice learning experience ;)
 
You could always run it on a PC and set a data access breakpoint - that'll tell you when any code accesses that array, and then you'll probably find the function doing the buffer overflow or whatever is causing it.
 
Back
Top