mirror of
https://github.com/ClassiCube/ClassiCube.git
synced 2025-09-12 17:17:09 -04:00
use 0x20000 stack size for threads
This commit is contained in:
parent
8566ac9631
commit
ee012dcd36
@ -246,7 +246,7 @@ static void ExecSwitchThread(void* param) {
|
|||||||
|
|
||||||
void* Thread_Create(Thread_StartFunc func) {
|
void* Thread_Create(Thread_StartFunc func) {
|
||||||
Thread* thread = (Thread*)Mem_Alloc(1, sizeof(Thread), "thread");
|
Thread* thread = (Thread*)Mem_Alloc(1, sizeof(Thread), "thread");
|
||||||
threadCreate(thread, ExecSwitchThread, (void*)func, NULL, 0x10000, 0x2C, -2);
|
threadCreate(thread, ExecSwitchThread, (void*)func, NULL, 0x20000, 0x2C, -2);
|
||||||
return thread;
|
return thread;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user