diff options
author | Fernando Sahmkow <fernandosahmkow1@hotmail.com> | 2017-03-09 00:21:08 +0100 |
---|---|---|
committer | Fernando Sahmkow <fernandosahmkow1@hotmail.com> | 2017-03-09 14:18:18 +0100 |
commit | b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf (patch) | |
tree | 7e8d41f87707ad0b6c257bed7055d44368dc681d /src/core/hle/svc.cpp | |
parent | Merge pull request #2614 from Schplee/patch-1 (diff) | |
download | yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.tar yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.tar.gz yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.tar.bz2 yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.tar.lz yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.tar.xz yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.tar.zst yuzu-b5dbc6cb98ecc5a73fa02fc053bb9637c0effdaf.zip |
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r-- | src/core/hle/svc.cpp | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 1baa80671..4e0c3fb8b 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -556,11 +556,21 @@ static ResultCode CreateThread(Kernel::Handle* out_handle, s32 priority, u32 ent 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."); + if (processor_id == THREADPROCESSORID_ALL) { + LOG_INFO(Kernel_SVC, + "Newly created thread is allowed to be run in any Core, unimplemented."); + } + + if (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 (Core1), unimplemented."); + } + + if (processor_id == THREADPROCESSORID_1) { + LOG_ERROR(Kernel_SVC, + "Newly created thread must run in the SysCore (Core1), unimplemented."); } CASCADE_RESULT(SharedPtr<Thread> thread, Kernel::Thread::Create(name, entry_point, priority, |