summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2017-03-16 02:17:43 +0100
committerGitHub <noreply@github.com>2017-03-16 02:17:43 +0100
commit709e4fa5d25c11ec73b3c8662756fbf692ee0383 (patch)
treebfc7e9761bc6f14f8947f0d4eed55d2158a9f2ed
parentMerge pull request #2625 from wwylele/hash-console-unique (diff)
parentRefined thread launch on syscore error messages (diff)
downloadyuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.tar
yuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.tar.gz
yuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.tar.bz2
yuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.tar.lz
yuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.tar.xz
yuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.tar.zst
yuzu-709e4fa5d25c11ec73b3c8662756fbf692ee0383.zip
-rw-r--r--src/core/hle/svc.cpp20
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,