summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2018-05-30 18:32:46 +0200
committerSubv <subv2112@gmail.com>2018-05-30 18:32:46 +0200
commitd1f9c750a657ab47d4443230d9fb3e3b9d5d0be1 (patch)
tree6ef85214d4d5a871d8d650491bf85114ddd36144
parentMerge pull request #480 from mailwl/bcat (diff)
downloadyuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.tar
yuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.tar.gz
yuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.tar.bz2
yuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.tar.lz
yuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.tar.xz
yuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.tar.zst
yuzu-d1f9c750a657ab47d4443230d9fb3e3b9d5d0be1.zip
-rw-r--r--src/core/hle/kernel/thread.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/thread.cpp b/src/core/hle/kernel/thread.cpp
index 46fcdefb8..391d8990f 100644
--- a/src/core/hle/kernel/thread.cpp
+++ b/src/core/hle/kernel/thread.cpp
@@ -476,7 +476,7 @@ void Thread::ChangeCore(u32 core, u64 mask) {
new_processor_id = ideal_core;
}
- ASSERT(new_processor_id < 4);
+ ASSERT(*new_processor_id < 4);
// Add thread to new core's scheduler
auto& next_scheduler = Core::System().GetInstance().Scheduler(*new_processor_id);