diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 9a9746585..6a098f1ee 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -400,7 +400,7 @@ SharedPtr<Thread> SetupMainThread(VAddr entry_point, u32 priority, | |||
| 400 | 400 | ||
| 401 | // Initialize new "main" thread | 401 | // Initialize new "main" thread |
| 402 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, | 402 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, |
| 403 | Memory::STACK_AREA_VADDR_END, owner_process); | 403 | Memory::STACK_AREA_VADDR_END, std::move(owner_process)); |
| 404 | 404 | ||
| 405 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); | 405 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); |
| 406 | 406 | ||