summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/scheduler.cpp
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2019-10-01 02:50:59 +0200
committerFernandoS27 <fsahmkow27@gmail.com>2019-10-15 17:55:17 +0200
commit1ec1e8137356c64d624d90cd67acebb10f056abd (patch)
treef6b7634e21bb83fbbb2d7cf5123b7e99e58dec64 /src/core/hle/kernel/scheduler.cpp
parentKernel: Remove global system accessor from WaitObject (diff)
downloadyuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.tar
yuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.tar.gz
yuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.tar.bz2
yuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.tar.lz
yuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.tar.xz
yuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.tar.zst
yuzu-1ec1e8137356c64d624d90cd67acebb10f056abd.zip
Diffstat (limited to 'src/core/hle/kernel/scheduler.cpp')
-rw-r--r--src/core/hle/kernel/scheduler.cpp3
1 files changed, 2 insertions, 1 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) {