Ported task.c and others from pokeruby

This commit is contained in:
Diegoisawesome
2016-10-31 03:14:22 -05:00
parent 6874afafe5
commit 4df1937738
30 changed files with 3274 additions and 2216 deletions

View File

@@ -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;