diff options
Diffstat (limited to 'src/core/hle/svc.cpp')
| -rw-r--r-- | src/core/hle/svc.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index ae54afb1c..761e1b45b 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp | |||
| @@ -497,6 +497,11 @@ static ResultCode CreateThread(Handle* out_handle, s32 priority, u32 entry_point | |||
| 497 | break; | 497 | break; |
| 498 | } | 498 | } |
| 499 | 499 | ||
| 500 | if (processor_id == THREADPROCESSORID_1 || processor_id == THREADPROCESSORID_ALL || | ||
| 501 | (processor_id == THREADPROCESSORID_DEFAULT && Kernel::g_current_process->ideal_processor == THREADPROCESSORID_1)) { | ||
| 502 | LOG_WARNING(Kernel_SVC, "Newly created thread is allowed to be run in the SysCore, unimplemented."); | ||
| 503 | } | ||
| 504 | |||
| 500 | CASCADE_RESULT(SharedPtr<Thread> thread, Kernel::Thread::Create( | 505 | CASCADE_RESULT(SharedPtr<Thread> thread, Kernel::Thread::Create( |
| 501 | name, entry_point, priority, arg, processor_id, stack_top)); | 506 | name, entry_point, priority, arg, processor_id, stack_top)); |
| 502 | CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(std::move(thread))); | 507 | CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(std::move(thread))); |