Pages: 1
Posted on 07-08-14, 05:01 pm (rev. 4 by  TheToaster on 11-07-15, 11:55 pm)
Paragoomba


Karma: 37
Posts: 34/69
Since: 01-29-14
(Solved)

For some reason I cant use memory allocation in my project:

http://nsmbhd.net/thread/452-heap-allocation-it-s-possible-now/

I downloaded the file but where do I put it?

EDIT:
"Place it in the source folder and compile your hack normally."

I didn't see that, blarg.
_________________________
Posted on 07-08-14, 08:45 pm
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 4047/4457
Since: 06-08-11
So this issue is solved? Nice!

Let me know if you get it working, then code is not very et tested, it's probable that there are a few bugs lurking waiting to bite us...
Posted on 07-09-14, 12:40 am
Paragoomba


Karma: 37
Posts: 35/69
Since: 01-29-14
I haven't tested this, but does it not work with vectors?
_________________________
Posted on 07-09-14, 08:42 am
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 4048/4457
Since: 06-08-11
It should work with vectors too, yes. It basically makes C's malloc work, and C++'s new uses malloc internally...
Pages: 1