02-11-2015, 07:47 AM -
(02-10-2015, 12:52 PM)Bigpet Wrote: lol what? No, we know why this happens, I just explained it to you. It's literally programmed to fail right here: https://github.com/DHrpcs3/rpcs3/blob/e5...ad.cpp#L87(A bit obfuscated saying. Somewhere in doc)
If you want to hot-fix it locally just go to this file here: https://github.com/DHrpcs3/rpcs3/blob/e5...d.cpp#L189
and addthere. Like I said, we just don't know what the right value is.Code:if(stacksize == 0) stacksize = 0x100;
Quote://Stack memory: allocated in 4KB units.Surely 0x0100 is less than 4KB, why not try modify the amount to 0x1000 instead? And from "include", there is "PTHREAD_STACK_MIN" which is defined as 4096 (0x1000). Eh.. The implementation of sys_ppu_thread_create is not so accurate as it may be..
if (stacksize%4096) stacksize = ((int)(stacksize/4096)+1)*4096; // Bytes for UserMemory