hrydgard/ppsspp — pull request #4209 by unknownbrackets (2013-10-16 08:35:53+00:00)
Title: Pass arguments to root threads same way as regular threads

Fixes Ys 1 & 2 Chronicles.

Before it would have issues or crash if the args were > 256 bytes (since it reserved space and then wrote the arg after that space.)

Should primarily affect games that use sceKernelLoadExec(), and actually gives slightly more stack space to the root thread (it was reducing by 256 also in __KernelResetThread().)

-[Unknown]