summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2018-07-24 04:54:32 +0200
committerLioncash <mathew1800@gmail.com>2018-07-24 04:54:35 +0200
commit42b5158c9661446984f1f60ed42d44651b6a28ad (patch)
treef35a2533162e08354c0caa3fbb5fc9d3dc8021aa
parentMerge pull request #787 from bunnei/tlds (diff)
downloadyuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.tar
yuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.tar.gz
yuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.tar.bz2
yuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.tar.lz
yuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.tar.xz
yuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.tar.zst
yuzu-42b5158c9661446984f1f60ed42d44651b6a28ad.zip
-rw-r--r--src/core/hle/kernel/mutex.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 3f1de3258..feb7b88d2 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -19,7 +19,7 @@ namespace Kernel {
/// Returns the number of threads that are waiting for a mutex, and the highest priority one among
/// those.
static std::pair<SharedPtr<Thread>, u32> GetHighestPriorityMutexWaitingThread(
- SharedPtr<Thread> current_thread, VAddr mutex_addr) {
+ const SharedPtr<Thread>& current_thread, VAddr mutex_addr) {
SharedPtr<Thread> highest_priority_thread;
u32 num_waiters = 0;