Match HuPrcChildCreate

This commit is contained in:
gamemasterplc 2023-11-23 10:00:55 -06:00
parent 244a856837
commit b7a4ffb221

View file

@ -70,8 +70,7 @@ Process *HuPrcCreate(void (*func)(void), u16 prio, u32 stack_size, s32 extra_siz
alloc_size = HuMemMemoryAllocSizeGet(sizeof(Process))
+HuMemMemoryAllocSizeGet(stack_size)
+HuMemMemoryAllocSizeGet(extra_size);
heap = HuMemDirectMalloc(0, alloc_size);
if(!heap) {
if(!(heap = HuMemDirectMalloc(0, alloc_size))) {
OSReport("process> malloc error size %d\n", alloc_size);
return NULL;
}
@ -139,7 +138,6 @@ void HuPrcChildWatch()
gclongjmp(&processjmpbuf, 1);
}
}
}
Process *HuPrcCurrentGet()