summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-14 22:39:56 +0200
committerbunnei <bunneidev@gmail.com>2015-05-14 22:39:56 +0200
commit9f503387dc2d1c697fe732264cc2b1a1513a3541 (patch)
tree38bab1172022380b259d4ccc4109860afca2775e /src/core/hle
parentMerge pull request #768 from linkmauve/axe-math_utils (diff)
parentthread: Fix a conditional check in Reschedule (diff)
downloadyuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.tar
yuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.tar.gz
yuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.tar.bz2
yuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.tar.lz
yuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.tar.xz
yuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.tar.zst
yuzu-9f503387dc2d1c697fe732264cc2b1a1513a3541.zip
Diffstat (limited to 'src/core/hle')
-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());
}