Implemented MBXes

This commit is contained in:
Arthur Blot committed 2012-11-08 14:24:51 +01:00
1 parent 4fedfc72f6
commit b96d86ab7f
8 files changed
+291 -106

No files matched your search

+9
View File
@@ -1103,6 +1103,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
//////////////////////////////////////////////////////////////////////////