summaryrefslogtreecommitdiff
path: root/src/malloc.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2016-10-31 03:14:22 -0500
committerDiegoisawesome <diego@domoreaweso.me>2016-10-31 09:43:17 -0500
commit4df1937738c4dc39d23f5c4e4b0d6a3774ff1b17 (patch)
tree4035a8314efc3149a5f818a2589c099643b08850 /src/malloc.c
parent6874afafe545365a52c2262da4e4a84ddf14afaf (diff)
Ported task.c and others from pokeruby
Diffstat (limited to 'src/malloc.c')
-rw-r--r--src/malloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/malloc.c b/src/malloc.c
index 8bfaf5ef0..c93e096c2 100644
--- a/src/malloc.c
+++ b/src/malloc.c
@@ -135,7 +135,7 @@ void *AllocZeroedInternal(void *heapStart, u32 size)
if (size & 3)
size = 4 * ((size / 4) + 1);
- CpuFill32(mem, 0, size);
+ CpuFill32(0, mem, size);
}
return mem;