mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-07 14:19:19 +00:00
Fix return value of sceKernelSuspendDispatchThread.
This commit is contained in:
parent
60d7ac3543
commit
b2fd023038
@ -1692,19 +1692,19 @@ void sceKernelExitDeleteThread()
|
||||
|
||||
u32 sceKernelSuspendDispatchThread()
|
||||
{
|
||||
u32 oldDispatchSuspended = !dispatchEnabled;
|
||||
u32 oldDispatchEnabled = dispatchEnabled;
|
||||
dispatchEnabled = false;
|
||||
DEBUG_LOG(HLE,"%i=sceKernelSuspendDispatchThread()", oldDispatchSuspended);
|
||||
return oldDispatchSuspended;
|
||||
DEBUG_LOG(HLE,"%i=sceKernelSuspendDispatchThread()", oldDispatchEnabled);
|
||||
return oldDispatchEnabled;
|
||||
}
|
||||
|
||||
u32 sceKernelResumeDispatchThread(u32 suspended)
|
||||
u32 sceKernelResumeDispatchThread(u32 enabled)
|
||||
{
|
||||
u32 oldDispatchSuspended = !dispatchEnabled;
|
||||
dispatchEnabled = !suspended;
|
||||
DEBUG_LOG(HLE,"%i=sceKernelResumeDispatchThread(%i)", oldDispatchSuspended, suspended);
|
||||
u32 oldDispatchEnabled = dispatchEnabled;
|
||||
dispatchEnabled = enabled != 0;
|
||||
DEBUG_LOG(HLE,"%i=sceKernelResumeDispatchThread(%i)", oldDispatchEnabled, enabled);
|
||||
hleReSchedule("dispatch resumed");
|
||||
return oldDispatchSuspended;
|
||||
return oldDispatchEnabled;
|
||||
}
|
||||
|
||||
int sceKernelRotateThreadReadyQueue(int priority)
|
||||
|
Loading…
x
Reference in New Issue
Block a user