From 1ec1e8137356c64d624d90cd67acebb10f056abd Mon Sep 17 00:00:00 2001 From: Fernando Sahmkow Date: Mon, 30 Sep 2019 20:50:59 -0400 Subject: Kernel: Clang Format --- src/core/hle/kernel/scheduler.cpp | 3 ++- src/core/hle/kernel/thread.h | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp index 60d936c9a..226d15d88 100644 --- a/src/core/hle/kernel/scheduler.cpp +++ b/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) { diff --git a/src/core/hle/kernel/thread.h b/src/core/hle/kernel/thread.h index bec23a0e0..4d220c4f9 100644 --- a/src/core/hle/kernel/thread.h +++ b/src/core/hle/kernel/thread.h @@ -468,7 +468,7 @@ private: u64 total_cpu_time_ticks = 0; ///< Total CPU running ticks. u64 last_running_ticks = 0; ///< CPU tick when thread was last running - u64 yield_count = 0; ///< Number of innecessaries yields occured. + u64 yield_count = 0; ///< Number of innecessaries yields occured. s32 processor_id = 0; -- cgit v1.2.3