summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-11-21 11:30:16 +0100
committerbunnei <bunneidev@gmail.com>2021-12-07 01:39:17 +0100
commit2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f (patch)
tree0955148fdde511dbb63783a1c4db2ad92f1f8cb9 /src/core/hle/kernel
parenthle: kernel: Cleanup to match coding style. (diff)
downloadyuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.tar
yuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.tar.gz
yuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.tar.bz2
yuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.tar.lz
yuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.tar.xz
yuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.tar.zst
yuzu-2c49a65d2be9cc18bf6e72bb09ad4ce6a8e7588f.zip
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/k_synchronization_object.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/core/hle/kernel/k_synchronization_object.h b/src/core/hle/kernel/k_synchronization_object.h
index 789ff4780..ec235437b 100644
--- a/src/core/hle/kernel/k_synchronization_object.h
+++ b/src/core/hle/kernel/k_synchronization_object.h
@@ -35,18 +35,18 @@ public:
[[nodiscard]] std::vector<KThread*> GetWaitingThreadsForDebugging() const;
- void LinkNode(ThreadListNode* node) {
+ void LinkNode(ThreadListNode* node_) {
// Link the node to the list.
if (thread_list_tail == nullptr) {
- thread_list_head = node;
+ thread_list_head = node_;
} else {
- thread_list_tail->next = node;
+ thread_list_tail->next = node_;
}
- thread_list_tail = node;
+ thread_list_tail = node_;
}
- void UnlinkNode(ThreadListNode* node) {
+ void UnlinkNode(ThreadListNode* node_) {
// Unlink the node from the list.
ThreadListNode* prev_ptr =
reinterpret_cast<ThreadListNode*>(std::addressof(thread_list_head));
@@ -58,13 +58,13 @@ public:
prev_ptr = prev_ptr->next;
tail_prev = prev_val;
prev_val = prev_ptr;
- } while (prev_ptr != node);
+ } while (prev_ptr != node_);
- if (thread_list_tail == node) {
+ if (thread_list_tail == node_) {
thread_list_tail = tail_prev;
}
- prev->next = node->next;
+ prev->next = node_->next;
}
protected: