summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/process.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-01 10:04:30 +0100
committerbunnei <bunneidev@gmail.com>2021-01-29 06:42:25 +0100
commit0530292b9768637aa6e2875e931c1066af4aa80e (patch)
tree30236fc9d763731f06a8f4397a88200bb31c0318 /src/core/hle/kernel/process.cpp
parenthle: kernel: Move single core "phantom mode" out of KThread. (diff)
downloadyuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.gz
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.bz2
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.lz
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.xz
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.tar.zst
yuzu-0530292b9768637aa6e2875e931c1066af4aa80e.zip
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
-rw-r--r--src/core/hle/kernel/process.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp
index ccd371aba..e47da2b7f 100644
--- a/src/core/hle/kernel/process.cpp
+++ b/src/core/hle/kernel/process.cpp
@@ -38,8 +38,7 @@ namespace {
*/
void SetupMainThread(Core::System& system, Process& owner_process, u32 priority, VAddr stack_top) {
const VAddr entry_point = owner_process.PageTable().GetCodeRegionStart();
- ThreadType type = THREADTYPE_USER;
- auto thread_res = KThread::Create(system, type, "main", entry_point, priority, 0,
+ auto thread_res = KThread::Create(system, ThreadType::User, "main", entry_point, priority, 0,
owner_process.GetIdealCore(), stack_top, &owner_process);
std::shared_ptr<KThread> thread = std::move(thread_res).Unwrap();