mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-25 23:33:41 +01:00
Speed up __GetCurrentThread(), it's called a lot.
This only needs to be an assertion.
This commit is contained in:
1 parent
159e30cbb2
commit
738dfc84e4
2 files changed
+2
-6
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user