diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-05 21:12:29 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-05 21:12:29 +0200 |
commit | 9893da8e2c563e00005f0ad2fdaa86b6d7762d84 (patch) | |
tree | 27c5c2ca6dc9bb6c0e949657dcf273a5c0c52c26 /src/core | |
parent | address_arbiter: Resolve sign conversion warning (diff) | |
download | yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.tar yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.tar.gz yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.tar.bz2 yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.tar.lz yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.tar.xz yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.tar.zst yuzu-9893da8e2c563e00005f0ad2fdaa86b6d7762d84.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/scheduler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hle/kernel/scheduler.cpp b/src/core/hle/kernel/scheduler.cpp index f93e5e4b0..fc656d613 100644 --- a/src/core/hle/kernel/scheduler.cpp +++ b/src/core/hle/kernel/scheduler.cpp @@ -131,7 +131,8 @@ u32 GlobalScheduler::SelectThreads() { u32 cores_needing_context_switch{}; for (u32 core = 0; core < Core::Hardware::NUM_CPU_CORES; core++) { Scheduler& sched = kernel.Scheduler(core); - ASSERT(top_threads[core] == nullptr || top_threads[core]->GetProcessorID() == core); + ASSERT(top_threads[core] == nullptr || + static_cast<u32>(top_threads[core]->GetProcessorID()) == core); if (update_thread(top_threads[core], sched)) { cores_needing_context_switch |= (1ul << core); } |