Pages: 1
Posted on 10-15-11, 09:22 pm (rev. 3)
Super Mario
( ͡° ͜ʖ ͡°)

Karma: 10010
Posts: 997/4457
Since: 06-08-11
Basically, this allows you to use dynamic memory from your hacks.

malloc() and free() work perfectly.
So do new, delete from C++, and all the classes from the STL!

Be aware that I haven't tested this extensively, it might crash.
In my next project I'm going to be using this a lot, so yeah, it will be tested.

Here's the file
http://nsmbhd.net/get.php?id=149.
Place it in the source folder and compile your hack normally.

EDIT: Using vectors, it doesn't compile
I'll probably figure out why and fix it. In the meantime, lol I dunno.
Posted on 10-15-11, 09:22 pm
Porcupo
Did you win the game?

Karma: 211
Posts: 136/322
Since: 06-28-11
Thats CoolAs xD

Dirbaio, can you post some hooks on when the level is loading.

Thanks
Posted on 10-15-11, 09:28 pm (rev. 1)
Roy Koopa


Karma: 4011
Posts: 820/2722
Since: 06-26-11
What is malloc and free?? o0
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Posted on 10-16-11, 03:18 pm
Red Goomba


Karma: -2
Posts: 6/36
Since: 10-12-11
malloc finds freespace in the RAM, afaik.
free frees unused space, so it's marked as free, if I'm right.

Otherwise: Help!
_________________________
My englisch isn't the best...
Posted on 10-16-11, 03:31 pm
Roy Koopa


Karma: 4011
Posts: 826/2722
Since: 06-26-11
Oh ok, thank you =)
_________________________
See a lots of creative DS Hacking here
If you want to support me, you might check out my Patreon Page : )
Pages: 1