diff options
author | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-01-31 17:55:40 +0100 |
---|---|---|
committer | Yuri Kunde Schlesner <yuriks@yuriks.net> | 2015-02-02 18:37:03 +0100 |
commit | 869ec46683c508de5692eaace1a66e682f90b4de (patch) | |
tree | 23cd3b9b8f85d67cf74b174927e938c9ca53df55 /src/core/hle/kernel/thread.cpp | |
parent | Kernel: Use separate Handle tables for CoreTiming userdata (diff) | |
download | yuzu-869ec46683c508de5692eaace1a66e682f90b4de.tar yuzu-869ec46683c508de5692eaace1a66e682f90b4de.tar.gz yuzu-869ec46683c508de5692eaace1a66e682f90b4de.tar.bz2 yuzu-869ec46683c508de5692eaace1a66e682f90b4de.tar.lz yuzu-869ec46683c508de5692eaace1a66e682f90b4de.tar.xz yuzu-869ec46683c508de5692eaace1a66e682f90b4de.tar.zst yuzu-869ec46683c508de5692eaace1a66e682f90b4de.zip |
Diffstat (limited to 'src/core/hle/kernel/thread.cpp')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index 72a14bfac..2fae1b3bc 100644 --- a/src/core/hle/kernel/thread.cpp +++ b/src/core/hle/kernel/thread.cpp @@ -326,11 +326,11 @@ static void DebugThreadQueue() { if (!thread) { return; } - LOG_DEBUG(Kernel, "0x%02X 0x%08X (current)", thread->current_priority, GetCurrentThread()->GetHandle()); + LOG_DEBUG(Kernel, "0x%02X %u (current)", thread->current_priority, GetCurrentThread()->GetObjectId()); for (auto& t : thread_list) { s32 priority = thread_ready_queue.contains(t.get()); if (priority != -1) { - LOG_DEBUG(Kernel, "0x%02X 0x%08X", priority, t->GetHandle()); + LOG_DEBUG(Kernel, "0x%02X %u", priority, t->GetObjectId()); } } } @@ -459,13 +459,13 @@ void Reschedule() { HLE::g_reschedule = false; if (next != nullptr) { - LOG_TRACE(Kernel, "context switch 0x%08X -> 0x%08X", prev->GetHandle(), next->GetHandle()); + LOG_TRACE(Kernel, "context switch %u -> %u", prev->GetObjectId(), next->GetObjectId()); SwitchContext(next); } else { - LOG_TRACE(Kernel, "cannot context switch from 0x%08X, no higher priority thread!", prev->GetHandle()); + LOG_TRACE(Kernel, "cannot context switch from %u, no higher priority thread!", prev->GetObjectId()); for (auto& thread : thread_list) { - LOG_TRACE(Kernel, "\thandle=0x%08X prio=0x%02X, status=0x%08X", thread->GetHandle(), + LOG_TRACE(Kernel, "\tid=%u prio=0x%02X, status=0x%08X", thread->GetObjectId(), thread->current_priority, thread->status); } } |