diff options
| author | 2021-01-03 01:49:18 -0800 | |
|---|---|---|
| committer | 2021-01-28 21:42:25 -0800 | |
| commit | 4dbf3f4880cac69db21cc8f18582814dc986c854 (patch) | |
| tree | 16bd5c45c3341e3341d3581e830dbc9f5067784d /src/core/hle/kernel/process.cpp | |
| parent | hle: kernel: KThread: Reorganize thread priority defaults. (diff) | |
| download | yuzu-4dbf3f4880cac69db21cc8f18582814dc986c854.tar.gz yuzu-4dbf3f4880cac69db21cc8f18582814dc986c854.tar.xz yuzu-4dbf3f4880cac69db21cc8f18582814dc986c854.zip | |
hle: kernel: KThread: Clean up thread priorities.
Diffstat (limited to 'src/core/hle/kernel/process.cpp')
| -rw-r--r-- | src/core/hle/kernel/process.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/process.cpp b/src/core/hle/kernel/process.cpp index e47da2b7f..819e275ff 100644 --- a/src/core/hle/kernel/process.cpp +++ b/src/core/hle/kernel/process.cpp | |||
| @@ -39,7 +39,7 @@ namespace { | |||
| 39 | void SetupMainThread(Core::System& system, Process& owner_process, u32 priority, VAddr stack_top) { | 39 | void SetupMainThread(Core::System& system, Process& owner_process, u32 priority, VAddr stack_top) { |
| 40 | const VAddr entry_point = owner_process.PageTable().GetCodeRegionStart(); | 40 | const VAddr entry_point = owner_process.PageTable().GetCodeRegionStart(); |
| 41 | auto thread_res = KThread::Create(system, ThreadType::User, "main", entry_point, priority, 0, | 41 | auto thread_res = KThread::Create(system, ThreadType::User, "main", entry_point, priority, 0, |
| 42 | owner_process.GetIdealCore(), stack_top, &owner_process); | 42 | owner_process.GetIdealCoreId(), stack_top, &owner_process); |
| 43 | 43 | ||
| 44 | std::shared_ptr<KThread> thread = std::move(thread_res).Unwrap(); | 44 | std::shared_ptr<KThread> thread = std::move(thread_res).Unwrap(); |
| 45 | 45 | ||