Speed up __GetCurrentThread(), it's called a lot.
This only needs to be an assertion.
This commit is contained in:
parent
159e30cbb2
commit
738dfc84e4
2 changed files with 2 additions and 6 deletions
|
@ -932,7 +932,7 @@ void MipsCall::setReturnValue(u64 value)
|
|||
savedV1 = (value >> 32) & 0xFFFFFFFF;
|
||||
}
|
||||
|
||||
Thread *__GetCurrentThread() {
|
||||
inline Thread *__GetCurrentThread() {
|
||||
if (currentThread != 0)
|
||||
return kernelObjects.GetFast<Thread>(currentThread);
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue