summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-25 07:53:43 +0100
committerbunnei <bunneidev@gmail.com>2021-01-29 06:42:26 +0100
commitff46ef7ea36632129a2b013ebb62016d6f59f22e (patch)
tree4a4cf3fb6fccc1f597f5ed45282264f0f853ccd0
parenthle: kernel: k_scheduler_lock: Cleanup. (diff)
downloadyuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.tar
yuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.tar.gz
yuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.tar.bz2
yuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.tar.lz
yuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.tar.xz
yuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.tar.zst
yuzu-ff46ef7ea36632129a2b013ebb62016d6f59f22e.zip
-rw-r--r--src/core/hle/kernel/kernel.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index 093886b7c..df309d523 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();