summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorFernando Sahmkow <fsahmkow27@gmail.com>2020-03-03 20:59:09 +0100
committerFernando Sahmkow <fsahmkow27@gmail.com>2020-06-27 17:35:24 +0200
commit1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b (patch)
tree1d24391f0c9e94d94164ed4d572b2415f6c08a13 /src/core
parentKernel: Corrections to Scheduling. (diff)
downloadyuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.tar
yuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.tar.gz
yuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.tar.bz2
yuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.tar.lz
yuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.tar.xz
yuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.tar.zst
yuzu-1e987dbe8d9b5fbe778637c0b35cbc51b1a0956b.zip
Diffstat (limited to 'src/core')
-rw-r--r--src/core/hle/kernel/scheduler.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp
index da77967dd..9329202c6 100644
--- a/src/core/hle/kernel/scheduler.cpp
+++ b/src/core/hle/kernel/scheduler.cpp
@@ -103,6 +103,7 @@ u32 GlobalScheduler::SelectThreads() {
TransferToCore(suggested->GetPriority(), static_cast<s32>(core_id), suggested);
break;
}
+ suggested = nullptr;
migration_candidates[num_candidates++] = suggested_core_id;
}
// Step 3: Select a suggested thread from another core