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:
Sunguk Lee 2017-05-05 18:53:16 +09:00
parent 9bf8d361a1
commit 5ab67fb864
No known key found for this signature in database
GPG Key ID: 20A74A5D37EEA757

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;