mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 01:29:41 +01:00
It's getting close to the first totally unoptimized jit run.
This commit is contained in:
1 parent
5d6ff0bc20
commit
8c06edc47b
13 files changed
+78
-31
No files matched your search
@@ -1282,7 +1282,11 @@ Thread *__KernelCreateThread(SceUID &id, SceUID moduleId, const char *name, u32
|
||||
t->nt.gpreg = 0; // sceKernelStartThread will take care of this.
|
||||
t->moduleId = moduleId;
|
||||
|
||||
strncpy(t->nt.name, name, 32);
|
||||
if (name) {
|
||||
strncpy(t->nt.name, name, 32);
|
||||
} else {
|
||||
ERROR_LOG(HLE, "Threads must have names!");
|
||||
}
|
||||
return t;
|
||||
}
|
||||
|
||||
@@ -1994,7 +1998,7 @@ ActionAfterMipsCall *Thread::getRunningCallbackAction()
|
||||
if (this->GetUID() == currentThread && g_inCbCount > 0)
|
||||
{
|
||||
MipsCall *call = mipsCalls.get(this->currentCallbackId);
|
||||
ActionAfterMipsCall *action;
|
||||
ActionAfterMipsCall *action = 0;
|
||||
if (call)
|
||||
action = dynamic_cast<ActionAfterMipsCall *>(call->doAfter);
|
||||
|
||||
|
||||
Reference in new issue
Block a user