diff options
author | Lioncash <mathew1800@gmail.com> | 2015-05-14 11:10:04 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2015-05-14 11:10:04 -0400 |
commit | 207087c856ef6b42b4d6387712a83174241d8541 (patch) | |
tree | f2b6207d174d9dc1c6ef136a6e11e822f384febc /src | |
parent | e83bc5b7ee45ae24821c4cd185dd6a14dbd3b4d4 (diff) |
thread: Fix a conditional check in Reschedule
Diffstat (limited to 'src')
-rw-r--r-- | src/core/hle/kernel/thread.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp index afaf0cd5..5bcd03ff 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()); } |