Threads starting better threads should stay at top.

This wasn't correct, I think I must've added it because something else
should've been rescheduling.
This commit is contained in:
Unknown W. Brackets 2013-05-11 11:28:37 -07:00
parent 1b45afa797
commit 5318e97a2e

View file

@ -1862,8 +1862,6 @@ int sceKernelStartThread(SceUID threadToStartID, int argSize, u32 argBlockPtr)
// TODO: Maybe this happens even for worse-priority started threads? // TODO: Maybe this happens even for worse-priority started threads?
dispatchEnabled = true; dispatchEnabled = true;
if (cur && cur->isRunning())
cur->nt.status &= ~THREADSTATUS_RUNNING;
__KernelChangeReadyState(cur, currentThread, true); __KernelChangeReadyState(cur, currentThread, true);
hleReSchedule("thread started"); hleReSchedule("thread started");
} }