summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2021-02-04 20:54:06 +0100
committerLioncash <mathew1800@gmail.com>2021-02-04 20:55:08 +0100
commit53aec1fe2d298ac98e3d2c846deb2227c12b4eb4 (patch)
treedba46c8182cfad0bdd8bb5b55a6bc102bb3c662f /src/core/hle/kernel
parentMerge pull request #5863 from ogniK5377/disable-reverb (diff)
downloadyuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.tar
yuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.tar.gz
yuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.tar.bz2
yuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.tar.lz
yuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.tar.xz
yuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.tar.zst
yuzu-53aec1fe2d298ac98e3d2c846deb2227c12b4eb4.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/k_priority_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_priority_queue.h b/src/core/hle/kernel/k_priority_queue.h
index 13d628b85..afaab9812 100644
--- a/src/core/hle/kernel/k_priority_queue.h
+++ b/src/core/hle/kernel/k_priority_queue.h
@@ -55,7 +55,7 @@ concept KPriorityQueueMember = !std::is_reference_v<T> && requires(T & t) {
->Common::ConvertibleTo<s32>;
};
-template <typename Member, size_t _NumCores, int LowestPriority, int HighestPriority>
+template <typename Member, size_t NumCores_, int LowestPriority, int HighestPriority>
requires KPriorityQueueMember<Member> class KPriorityQueue {
public:
using AffinityMaskType = typename std::remove_cv_t<
@@ -65,7 +65,7 @@ public:
static_assert(HighestPriority >= 0);
static_assert(LowestPriority >= HighestPriority);
static constexpr size_t NumPriority = LowestPriority - HighestPriority + 1;
- static constexpr size_t NumCores = _NumCores;
+ static constexpr size_t NumCores = NumCores_;
static constexpr bool IsValidCore(s32 core) {
return 0 <= core && core < static_cast<s32>(NumCores);