Browse Source
omg you actually need that TLS
Signed-off-by: lizzie <lizzie@eden-emu.dev>
pull/2908/head
lizzie
3 months ago
No known key found for this signature in database
GPG Key ID: 287378CADCAB13
1 changed files with
2 additions and
3 deletions
-
src/core/hle/kernel/kernel.cpp
|
|
@ -380,9 +380,8 @@ struct KernelCore::Impl { |
|
|
ASSERT(KThread::InitializeDummyThread(thread, nullptr).IsSuccess()); |
|
|
ASSERT(KThread::InitializeDummyThread(thread, nullptr).IsSuccess()); |
|
|
return thread; |
|
|
return thread; |
|
|
}}; |
|
|
}}; |
|
|
|
|
|
|
|
|
KThread raw_thread{system.Kernel()}; |
|
|
|
|
|
KThread* thread = existing_thread ? existing_thread : initialize(&raw_thread); |
|
|
|
|
|
|
|
|
thread_local KThread raw_thread{system.Kernel()}; |
|
|
|
|
|
thread_local KThread* thread = existing_thread ? existing_thread : initialize(&raw_thread); |
|
|
return thread; |
|
|
return thread; |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|