mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 14:21:30 +00:00
Merge pull request #28 from d3m3vilurr/fix-crash-on-vita
vita: Increate thread stack size
This commit is contained in:
+1
-1
@@ -176,7 +176,7 @@ int PltCreateThread(ThreadEntry entry, void* context, PLT_THREAD* thread) {
|
|||||||
thread->alive = 1;
|
thread->alive = 1;
|
||||||
thread->context = ctx;
|
thread->context = ctx;
|
||||||
ctx->thread = thread;
|
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) {
|
if (thread->handle < 0) {
|
||||||
free(ctx);
|
free(ctx);
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user