Merge pull request #28 from d3m3vilurr/fix-crash-on-vita

vita: Increate thread stack size
This commit is contained in:
Cameron Gutman 2017-05-06 16:05:06 -07:00 committed by GitHub
commit 1eed2a65cb

View File

@ -176,7 +176,7 @@ int PltCreateThread(ThreadEntry entry, void* context, PLT_THREAD* thread) {
thread->alive = 1;
thread->context = ctx;
ctx->thread = thread;
thread->handle = sceKernelCreateThread("", ThreadProc, 0, 0x10000, 0, 0, NULL);
thread->handle = sceKernelCreateThread("", ThreadProc, 0, 0x40000, 0, 0, NULL);
if (thread->handle < 0) {
free(ctx);
return -1;