diff options
author | Subv <subv2112@gmail.com> | 2016-04-17 21:01:40 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-05-07 17:23:03 +0200 |
commit | 5b7f86708cd72b5d42b16ba4a0cc348dc83129d1 (patch) | |
tree | ff6250a8839ac14398c761ca161299ce3f28916f /src/core/hle/svc.cpp | |
parent | Merge pull request #1685 from lioncash/hdr (diff) | |
download | yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.tar yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.tar.gz yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.tar.bz2 yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.tar.lz yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.tar.xz yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.tar.zst yuzu-5b7f86708cd72b5d42b16ba4a0cc348dc83129d1.zip |
Diffstat (limited to '')
-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 break; } + if (processor_id == THREADPROCESSORID_1 || processor_id == THREADPROCESSORID_ALL || + (processor_id == THREADPROCESSORID_DEFAULT && Kernel::g_current_process->ideal_processor == THREADPROCESSORID_1)) { + LOG_WARNING(Kernel_SVC, "Newly created thread is allowed to be run in the SysCore, unimplemented."); + } + CASCADE_RESULT(SharedPtr<Thread> thread, Kernel::Thread::Create( name, entry_point, priority, arg, processor_id, stack_top)); CASCADE_RESULT(*out_handle, Kernel::g_handle_table.Create(std::move(thread))); |