mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-15 07:20:31 +02:00
Add some missing HLE functions, fix loading unencrypted EBOOT.BIN
This commit is contained in:
1 parent
48bc1afe26
commit
28879934d6
7 files changed
+21
-5
No files matched your search
@@ -994,6 +994,13 @@ void sceKernelGetThreadId()
|
||||
RETURN(retVal);
|
||||
}
|
||||
|
||||
void sceKernelGetThreadCurrentPriority()
|
||||
{
|
||||
u32 retVal = __GetCurrentThread()->nt.currentPriority;
|
||||
DEBUG_LOG(HLE,"%i = sceKernelGetThreadCurrentPriority()", retVal);
|
||||
RETURN(retVal);
|
||||
}
|
||||
|
||||
void sceKernelChangeCurrentThreadAttr()
|
||||
{
|
||||
int clearAttr = PARAM(0);
|
||||
@@ -1018,7 +1025,7 @@ void sceKernelChangeThreadPriority()
|
||||
}
|
||||
else
|
||||
{
|
||||
ERROR_LOG(HLE,"%08x=sceKernelChangeThreadPriority(%i, %i) failed", error, id, PARAM(1));
|
||||
ERROR_LOG(HLE,"%08x=sceKernelChangeThreadPriority(%i, %i) failed - no such thread", error, id, PARAM(1));
|
||||
RETURN(error);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user