summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar bunnei2022-03-10 23:58:00 -0800
committerGravatar bunnei2022-03-14 18:14:53 -0700
commit25c0acc388c17ef0c16b409735ece62e4295b807 (patch)
treee4c48d949db3570844f20bcb067c4c3d05e78d7d
parentcore: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and ... (diff)
downloadyuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.gz
yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.xz
yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.zip
core: hle: kernel: k_thread: Update to reflect tree changes.
-rw-r--r--src/core/hle/kernel/k_thread.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h
index d058db62c..f46db7298 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -656,7 +656,7 @@ private:
656 static_assert(sizeof(SyncObjectBuffer::sync_objects) == sizeof(SyncObjectBuffer::handles)); 656 static_assert(sizeof(SyncObjectBuffer::sync_objects) == sizeof(SyncObjectBuffer::handles));
657 657
658 struct ConditionVariableComparator { 658 struct ConditionVariableComparator {
659 struct LightCompareType { 659 struct RedBlackKeyType {
660 u64 cv_key{}; 660 u64 cv_key{};
661 s32 priority{}; 661 s32 priority{};
662 662
@@ -672,8 +672,8 @@ private:
672 template <typename T> 672 template <typename T>
673 requires( 673 requires(
674 std::same_as<T, KThread> || 674 std::same_as<T, KThread> ||
675 std::same_as<T, LightCompareType>) static constexpr int Compare(const T& lhs, 675 std::same_as<T, RedBlackKeyType>) static constexpr int Compare(const T& lhs,
676 const KThread& rhs) { 676 const KThread& rhs) {
677 const u64 l_key = lhs.GetConditionVariableKey(); 677 const u64 l_key = lhs.GetConditionVariableKey();
678 const u64 r_key = rhs.GetConditionVariableKey(); 678 const u64 r_key = rhs.GetConditionVariableKey();
679 679