mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-23 03:09:10 +02:00
Zero terminate the filename passed to the root thread
This commit is contained in:
1 parent
dc86fbe818
commit
baa11aede8
1 file changed
+1
-1
@@ -511,7 +511,7 @@ bool __KernelLoadExec(const char *filename, SceKernelLoadExecParam *param, std::
|
||||
option.priority = 0x20;
|
||||
option.stacksize = 0x40000; // crazy? but seems to be the truth
|
||||
|
||||
__KernelStartModule(m, (u32)strlen(filename), filename, &option);
|
||||
__KernelStartModule(m, (u32)strlen(filename) + 1, filename, &option);
|
||||
|
||||
__KernelStartIdleThreads();
|
||||
return true;
|
||||
|
||||
Reference in new issue
Block a user