VERY experimental Nintendo Switch 2 emulator
C++
hle: kernel: threading: Fix bug with host thread naming.
bunnei1a1bef51546c
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cppindex 093886b7c6..df309d523d 100644--- a/src/core/hle/kernel/kernel.cpp+++ b/src/core/hle/kernel/kernel.cpp@@ -211,9 +211,8 @@ struct KernelCore::Impl {KThread* GetHostDummyThread() {const thread_local auto thread =KThread::Create(- system, ThreadType::Main,- std::string{"DummyThread:" + GetHostThreadId()}, 0, KThread::DefaultThreadPriority,- 0, static_cast<u32>(3), 0, nullptr,+ system, ThreadType::Main, fmt::format("DummyThread:{}", GetHostThreadId()), 0,+ KThread::DefaultThreadPriority, 0, static_cast<u32>(3), 0, nullptr,[]([[maybe_unused]] void* arg) { UNREACHABLE(); }, nullptr).Unwrap();return thread.get();