VERY experimental Nintendo Switch 2 emulator
C++
thread: Fix a conditional check in Reschedule
Lioncash207087c856ef
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cppindex afaf0cd5d3..5bcd03ff30 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());}