summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-01-21 07:27:38 +0100
committerbunnei <bunneidev@gmail.com>2021-01-29 06:42:26 +0100
commitf6b10fad6365be68e9c93b1396249c66910e785f (patch)
tree4c5d4b3064506b0dc59537c0a4ab94565a4e3d31 /src/core/hle
parentkernel: Fix build errors. (diff)
downloadyuzu-f6b10fad6365be68e9c93b1396249c66910e785f.tar
yuzu-f6b10fad6365be68e9c93b1396249c66910e785f.tar.gz
yuzu-f6b10fad6365be68e9c93b1396249c66910e785f.tar.bz2
yuzu-f6b10fad6365be68e9c93b1396249c66910e785f.tar.lz
yuzu-f6b10fad6365be68e9c93b1396249c66910e785f.tar.xz
yuzu-f6b10fad6365be68e9c93b1396249c66910e785f.tar.zst
yuzu-f6b10fad6365be68e9c93b1396249c66910e785f.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/kernel/k_scheduler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cpp
index e99122f4c..e8e3b3dc5 100644
--- a/src/core/hle/kernel/k_scheduler.cpp
+++ b/src/core/hle/kernel/k_scheduler.cpp
@@ -38,7 +38,8 @@ void KScheduler::RescheduleCores(KernelCore& kernel, u64 cores_pending_reschedul
bool must_context_switch{};
if (scheduler) {
current_core = scheduler->core_id;
- must_context_switch = true;
+ // TODO(bunnei): Should be set to true when we deprecate single core
+ must_context_switch = !kernel.IsPhantomModeForSingleCore();
}
while (cores_pending_reschedule != 0) {