Search found 1 match

by eternity007
Fri Oct 23, 2009 2:07 pm
Forum: DS/DSi Development
Topic: Memory corruption
Replies: 13
Views: 16033

Re: Memory corruption

hi,

are you using __attribute__ ((aligned (xxx))) to align your structure???

Try just avoiding it, cause I had an same experience while porting some code.

Mostly, if you malloc some structure which is say 32 byte align, may cause crash. As I guess malloc use 4byte alignment.
Though 32 is a ...