Browse Source

Kernel: Clang Format

pull/15/merge
Fernando Sahmkow 6 years ago
committed by FernandoS27
parent
commit
1ec1e81373
  1. 3
      src/core/hle/kernel/scheduler.cpp

3
src/core/hle/kernel/scheduler.cpp

@ -281,7 +281,8 @@ void GlobalScheduler::PreemptThreads() {
UnloadThread(winner->GetProcessorID());
}
TransferToCore(winner->GetPriority(), core_id, winner);
current_thread = winner->GetPriority() <= current_thread->GetPriority() ? winner : current_thread;
current_thread =
winner->GetPriority() <= current_thread->GetPriority() ? winner : current_thread;
}
if (current_thread != nullptr && current_thread->GetPriority() > priority) {

Loading…
Cancel
Save