mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Limit thread name
Seems this needs to be limited
This commit is contained in:
1 parent
48bd2ccc08
commit
9257b28c15
1 file changed
+2
-2
@@ -1288,8 +1288,8 @@ u32 __KernelCreateCallback(const char *name, u32 entrypoint, u32 commonArg)
|
||||
SceUID id = kernelObjects.Create(cb);
|
||||
|
||||
cb->nc.size = sizeof(NativeCallback);
|
||||
strcpy(cb->nc.name, name);
|
||||
|
||||
strncpy(cb->nc.name, name, 32);
|
||||
|
||||
cb->nc.entrypoint = entrypoint;
|
||||
cb->nc.threadId = __KernelGetCurThread();
|
||||
cb->nc.commonArgument = commonArg;
|
||||
|
||||
Reference in new issue
Block a user