summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2015-05-14 17:10:04 +0200
committerLioncash <mathew1800@gmail.com>2015-05-14 17:10:04 +0200
commit207087c856ef6b42b4d6387712a83174241d8541 (patch)
treef2b6207d174d9dc1c6ef136a6e11e822f384febc /src
parentdyncom: Removed irrelevant log. (diff)
downloadyuzu-207087c856ef6b42b4d6387712a83174241d8541.tar
yuzu-207087c856ef6b42b4d6387712a83174241d8541.tar.gz
yuzu-207087c856ef6b42b4d6387712a83174241d8541.tar.bz2
yuzu-207087c856ef6b42b4d6387712a83174241d8541.tar.lz
yuzu-207087c856ef6b42b4d6387712a83174241d8541.tar.xz
yuzu-207087c856ef6b42b4d6387712a83174241d8541.tar.zst
yuzu-207087c856ef6b42b4d6387712a83174241d8541.zip
Diffstat (limited to 'src')
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index afaf0cd5d..5bcd03ff3 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -495,7 +495,7 @@ void Reschedule() {
LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId());
} else if (cur) {
LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId());
- } else {
+ } else if (next) {
LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId());
}