mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-16 07:50:28 +02:00
Merge branch 'master' of github.com:hrydgard/ppsspp
This commit is contained in:
commit
79a433e05d
10 files changed
+303
-106
No files matched your search
@@ -1107,6 +1107,15 @@ void sceKernelDelayThread()
|
||||
__KernelWaitCurThread(WAITTYPE_DELAY, curThread, 0, 0, false);
|
||||
}
|
||||
|
||||
u32 __KernelGetThreadPrio(SceUID id)
|
||||
{
|
||||
u32 error;
|
||||
Thread *thread = kernelObjects.Get<Thread>(id, error);
|
||||
if (thread)
|
||||
return thread->nt.currentPriority;
|
||||
return 0;
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
// WAIT/SLEEP ETC
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Reference in new issue
Block a user