Browse Source

Merge pull request #769 from lioncash/cond

thread: Fix a conditional check in Reschedule
pull/15/merge
bunnei 11 years ago
parent
commit
9f503387dc
  1. 2
      src/core/hle/kernel/thread.cpp

2
src/core/hle/kernel/thread.cpp

@ -495,7 +495,7 @@ void Reschedule() {
LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId()); LOG_TRACE(Kernel, "context switch %u -> %u", cur->GetObjectId(), next->GetObjectId());
} else if (cur) { } else if (cur) {
LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId()); LOG_TRACE(Kernel, "context switch %u -> idle", cur->GetObjectId());
} else {
} else if (next) {
LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId()); LOG_TRACE(Kernel, "context switch idle -> %u", next->GetObjectId());
} }

Loading…
Cancel
Save