summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_thread.h
diff options
context:
space:
mode:
authorLiam <byteslice@airmail.cc>2022-12-18 22:50:02 +0100
committerLiam <byteslice@airmail.cc>2022-12-19 02:21:24 +0100
commitc770f25ccb4755f6a6861037fbfdfdac55191348 (patch)
treeeccc5140afa7a979800e8c27c1f4a2847adb283f /src/core/hle/kernel/k_thread.h
parentkernel: add KHardwareTimer (diff)
downloadyuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.gz
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.bz2
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.lz
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.xz
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.tar.zst
yuzu-c770f25ccb4755f6a6861037fbfdfdac55191348.zip
Diffstat (limited to 'src/core/hle/kernel/k_thread.h')
-rw-r--r--src/core/hle/kernel/k_thread.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.h
index 1320451c0..7cd94a340 100644
--- a/src/core/hle/kernel/k_thread.h
+++ b/src/core/hle/kernel/k_thread.h
@@ -662,7 +662,7 @@ private:
union SyncObjectBuffer {
std::array<KSynchronizationObject*, Svc::ArgumentHandleCountMax> sync_objects{};
std::array<Handle,
- Svc::ArgumentHandleCountMax * (sizeof(KSynchronizationObject*) / sizeof(Handle))>
+ Svc::ArgumentHandleCountMax*(sizeof(KSynchronizationObject*) / sizeof(Handle))>
handles;
constexpr SyncObjectBuffer() {}
};
@@ -683,8 +683,10 @@ private:
};
template <typename T>
- requires(std::same_as<T, KThread> || std::same_as<T, RedBlackKeyType>)
- static constexpr int Compare(const T& lhs, const KThread& rhs) {
+ requires(
+ std::same_as<T, KThread> ||
+ 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();