diff options
author | bunnei <bunneidev@gmail.com> | 2018-05-06 03:59:35 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2018-05-11 01:34:49 +0200 |
commit | 6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2 (patch) | |
tree | 1bfdbf12298404ba23ca6d45928e0dce580fb4d0 /src/core/hle | |
parent | wait_tree: Show all threads on all schedulers. (diff) | |
download | yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.tar yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.tar.gz yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.tar.bz2 yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.tar.lz yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.tar.xz yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.tar.zst yuzu-6a890023e92cc8c7c0ea6bd20df6180ab88d2bb2.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/svc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 520510b61..ec32432db 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -401,8 +401,8 @@ static ResultCode SetThreadPriority(Handle handle, u32 priority) { /// Get which CPU core is executing the current thread static u32 GetCurrentProcessorNumber() { - NGLOG_WARNING(Kernel_SVC, "(STUBBED) called, defaulting to processor 0"); - return 0; + NGLOG_TRACE(Kernel_SVC, "called"); + return GetCurrentThread()->processor_id; } static ResultCode MapSharedMemory(Handle shared_memory_handle, VAddr addr, u64 size, |