diff options
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
| -rw-r--r-- | src/core/hle/kernel/thread.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 75ce626f8..f5f2eb2f7 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp | |||
| @@ -389,7 +389,7 @@ ResultVal<SharedPtr<Thread>> Thread::Create(std::string name, VAddr entry_point, | |||
| 389 | thread->wait_objects.clear(); | 389 | thread->wait_objects.clear(); |
| 390 | thread->wait_address = 0; | 390 | thread->wait_address = 0; |
| 391 | thread->name = std::move(name); | 391 | thread->name = std::move(name); |
| 392 | thread->callback_handle = wakeup_callback_handle_table.Create(thread).MoveFrom(); | 392 | thread->callback_handle = wakeup_callback_handle_table.Create(thread).Unwrap(); |
| 393 | thread->owner_process = g_current_process; | 393 | thread->owner_process = g_current_process; |
| 394 | 394 | ||
| 395 | // Find the next available TLS index, and mark it as used | 395 | // Find the next available TLS index, and mark it as used |
| @@ -484,7 +484,7 @@ SharedPtr<Thread> SetupMainThread(u32 entry_point, s32 priority) { | |||
| 484 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, | 484 | auto thread_res = Thread::Create("main", entry_point, priority, 0, THREADPROCESSORID_0, |
| 485 | Memory::HEAP_VADDR_END); | 485 | Memory::HEAP_VADDR_END); |
| 486 | 486 | ||
| 487 | SharedPtr<Thread> thread = thread_res.MoveFrom(); | 487 | SharedPtr<Thread> thread = std::move(thread_res).Unwrap(); |
| 488 | 488 | ||
| 489 | thread->context.fpscr = | 489 | thread->context.fpscr = |
| 490 | FPSCR_DEFAULT_NAN | FPSCR_FLUSH_TO_ZERO | FPSCR_ROUND_TOZERO | FPSCR_IXC; // 0x03C00010 | 490 | FPSCR_DEFAULT_NAN | FPSCR_FLUSH_TO_ZERO | FPSCR_ROUND_TOZERO | FPSCR_IXC; // 0x03C00010 |