mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-23 06:13:38 +01:00
Revert "Wraped some functions, removed some spaces"
This reverts commit 1c62f75a04c39b1bc9568a79a7a8eee18cc56542.
This commit is contained in:
1 parent
062838da8a
commit
ebc669c0f6
3 files changed
+71
-65
No files matched your search
@@ -1717,6 +1717,7 @@ void sceKernelDelayThreadCB()
|
||||
{
|
||||
u32 usec = PARAM(0);
|
||||
if (usec < 200) usec = 200;
|
||||
DEBUG_LOG(HLE,"sceKernelDelayThreadCB(%i usec)",usec);
|
||||
|
||||
SceUID curThread = __KernelGetCurThread();
|
||||
__KernelScheduleWakeup(curThread, usec);
|
||||
@@ -2205,6 +2206,11 @@ void __KernelSwitchContext(Thread *target, const char *reason)
|
||||
}
|
||||
currentThread = target->GetUID();
|
||||
__KernelLoadContext(&target->context);
|
||||
DEBUG_LOG(HLE,"Context switched: %s -> %s (%s) (%i - pc: %08x -> %i - pc: %08x)",
|
||||
oldName, target->GetName(),
|
||||
reason,
|
||||
oldUID, oldPC, target->GetUID(), currentMIPS->pc);
|
||||
|
||||
// No longer waiting.
|
||||
target->nt.waitType = WAITTYPE_NONE;
|
||||
target->nt.waitID = 0;
|
||||
|
||||
Reference in new issue
Block a user