diff options
author | bunnei <bunneidev@gmail.com> | 2022-03-11 08:58:00 +0100 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2022-03-15 02:14:53 +0100 |
commit | 25c0acc388c17ef0c16b409735ece62e4295b807 (patch) | |
tree | e4c48d949db3570844f20bcb067c4c3d05e78d7d /src/core/hle | |
parent | core: hle: kernel: Use weak_ptr where possible for SessionRequestHandler and SessionRequestManager. (diff) | |
download | yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.gz yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.bz2 yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.lz yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.xz yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.tar.zst yuzu-25c0acc388c17ef0c16b409735ece62e4295b807.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_thread.h | 6 |
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: static_assert(sizeof(SyncObjectBuffer::sync_objects) == sizeof(SyncObjectBuffer::handles)); struct ConditionVariableComparator { - struct LightCompareType { + struct RedBlackKeyType { u64 cv_key{}; s32 priority{}; @@ -672,8 +672,8 @@ private: template <typename T> requires( std::same_as<T, KThread> || - std::same_as<T, LightCompareType>) static constexpr int Compare(const T& lhs, - const KThread& rhs) { + std::same_as<T, RedBlackKeyType>) static constexpr int Compare(const T& lhs, + const KThread& rhs) { const u64 l_key = lhs.GetConditionVariableKey(); const u64 r_key = rhs.GetConditionVariableKey(); |