summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.cpp
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-19 01:31:35 +0200
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2023-07-19 01:31:35 +0200
commit71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de (patch)
tree023ef7def25a0bf79ae1556fa9fc0178bf980d2b /src/core/hle/kernel/kernel.cpp
parentMerge pull request #11109 from Morph1984/net (diff)
downloadyuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.tar
yuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.tar.gz
yuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.tar.bz2
yuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.tar.lz
yuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.tar.xz
yuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.tar.zst
yuzu-71b3b2a2f0f0ec5d0a0061d3d7ea42a1f63ae1de.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/kernel.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cpp
index f33600ca5..ebe7582c6 100644
--- a/src/core/hle/kernel/kernel.cpp
+++ b/src/core/hle/kernel/kernel.cpp
@@ -1089,15 +1089,15 @@ static std::jthread RunHostThreadFunc(KernelCore& kernel, KProcess* process,
KThread::Register(kernel, thread);
return std::jthread(
- [&kernel, thread, thread_name{std::move(thread_name)}, func{std::move(func)}] {
+ [&kernel, thread, thread_name_{std::move(thread_name)}, func_{std::move(func)}] {
// Set the thread name.
- Common::SetCurrentThreadName(thread_name.c_str());
+ Common::SetCurrentThreadName(thread_name_.c_str());
// Set the thread as current.
kernel.RegisterHostThread(thread);
// Run the callback.
- func();
+ func_();
// Close the thread.
// This will free the process if it is the last reference.