mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
vita: Increate thread stack size
readsolomon require large stack memory for the [decode][1] lazy calucation: 0x105f9 - dataDecodeMatrix: 255 * 255 - subShards: 255 * 4 - outputs: 255 * 4 Fixes #27 [1]: https://github.com/moonlight-stream/moonlight-common-c/blob/9bf8d36/reedsolomon/rs.c#L500-L502
This commit is contained in:
parent
9bf8d361a1
commit
5ab67fb864
@ -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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user