mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
Use >= 0x03080000 instead of 0x0307FFFF
This commit is contained in:
parent
f13c69a0e1
commit
f5937d0c6a
1 changed files with 3 additions and 3 deletions
|
@ -2149,7 +2149,7 @@ void __KernelReturnFromThread()
|
|||
}
|
||||
|
||||
int sceKernelExitThread(int exitStatus) {
|
||||
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() > 0x0307FFFF)
|
||||
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() >= 0x03080000)
|
||||
return hleLogError(SCEKERNEL, SCE_KERNEL_ERROR_CAN_NOT_WAIT);
|
||||
PSPThread *thread = __GetCurrentThread();
|
||||
_dbg_assert_msg_(thread != NULL, "Exited from a NULL thread.");
|
||||
|
@ -2185,7 +2185,7 @@ void _sceKernelExitThread(int exitStatus) {
|
|||
}
|
||||
|
||||
int sceKernelExitDeleteThread(int exitStatus) {
|
||||
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() > 0x0307FFFF)
|
||||
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() >= 0x03080000)
|
||||
return hleLogError(SCEKERNEL, SCE_KERNEL_ERROR_CAN_NOT_WAIT);
|
||||
PSPThread *thread = __GetCurrentThread();
|
||||
if (thread)
|
||||
|
@ -2304,7 +2304,7 @@ int sceKernelTerminateDeleteThread(int threadID)
|
|||
ERROR_LOG(SCEKERNEL, "sceKernelTerminateDeleteThread(%i): cannot terminate current thread", threadID);
|
||||
return SCE_KERNEL_ERROR_ILLEGAL_THID;
|
||||
}
|
||||
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() > 0x0307FFFF)
|
||||
if (!__KernelIsDispatchEnabled() && sceKernelGetCompiledSdkVersion() >= 0x03080000)
|
||||
return hleLogError(SCEKERNEL, SCE_KERNEL_ERROR_CAN_NOT_WAIT);
|
||||
|
||||
u32 error;
|
||||
|
|
Loading…
Add table
Reference in a new issue