yuzu-emu
/
yuzu-android
Archived
1
0
Fork 0

Kernel: Clang Format

This commit is contained in:
Fernando Sahmkow 2019-09-30 20:50:59 -04:00 committed by FernandoS27
parent e05a8c2385
commit 1ec1e81373
2 changed files with 3 additions and 2 deletions

View File

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