Move currentThread init to a better place.
This commit is contained in:
parent
e8e9f7f9d8
commit
fd1c686edf
1 changed files with 2 additions and 1 deletions
|
@ -446,7 +446,7 @@ int g_inCbCount = 0;
|
|||
// Normally, the same as currentThread. In an interrupt, remembers the callback's thread id.
|
||||
SceUID currentCallbackThreadID = 0;
|
||||
int readyCallbacksCount = 0;
|
||||
SceUID currentThread = 0;
|
||||
SceUID currentThread;
|
||||
u32 idleThreadHackAddr;
|
||||
u32 threadReturnHackAddr;
|
||||
u32 cbReturnHackAddr;
|
||||
|
@ -556,6 +556,7 @@ void __KernelThreadingInit()
|
|||
|
||||
dispatchEnabled = true;
|
||||
|
||||
currentThread = 0;
|
||||
g_inCbCount = 0;
|
||||
currentCallbackThreadID = 0;
|
||||
readyCallbacksCount = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue