thread: Code!
View Single Post
  #5  
01-18-2014, 12:19 AM
Phylum's Avatar
Phylum
No Artificial Colours
 
: Sep 2008
: Rock bottom
: 4,911
Blog Entries: 94
Rep Power: 23
Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)Phylum  (5748)

Yeah I don't know what the brackets mean. I just kind of look at the opcodes and fake the rest.

It was an alignment issue. I was stepping through my void pointers stupidly. Now I'm casting them to an unsigned, 8-bit integer pointer and adding i * the size of the item I'm allocating space for in bytes. I forgot the multiplication bit before, so it was possibly ending up halfway through a 32 bit integer as far as the CPU is concerned. Maybe.
Reply With Quote