summaryrefslogtreecommitdiffstats
path: root/src/core/hle/svc.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-01-02 19:53:10 +0100
committerSubv <subv2112@gmail.com>2017-01-04 21:58:47 +0100
commitb6a0355568ee327bef8957b9a2498897b96e1278 (patch)
treec2b4ac0c55ecfc2c60495e85e88e64c0f2bb6d8f /src/core/hle/svc.cpp
parentKernel/Mutex: Implemented priority inheritance. (diff)
downloadyuzu-b6a0355568ee327bef8957b9a2498897b96e1278.tar
yuzu-b6a0355568ee327bef8957b9a2498897b96e1278.tar.gz
yuzu-b6a0355568ee327bef8957b9a2498897b96e1278.tar.bz2
yuzu-b6a0355568ee327bef8957b9a2498897b96e1278.tar.lz
yuzu-b6a0355568ee327bef8957b9a2498897b96e1278.tar.xz
yuzu-b6a0355568ee327bef8957b9a2498897b96e1278.tar.zst
yuzu-b6a0355568ee327bef8957b9a2498897b96e1278.zip
Diffstat (limited to 'src/core/hle/svc.cpp')
-rw-r--r--src/core/hle/svc.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp
index 5d6359344..b6e34a9e9 100644
--- a/src/core/hle/svc.cpp
+++ b/src/core/hle/svc.cpp
@@ -373,8 +373,9 @@ static ResultCode WaitSynchronizationN(s32* out, Kernel::Handle* handles, s32 ha
return ERR_SYNC_TIMEOUT;
} else {
// Find the first object that is acquirable in the provided list of objects
- auto itr = std::find_if(objects.begin(), objects.end(),
- [thread](const ObjectPtr& object) { return !object->ShouldWait(thread); });
+ auto itr = std::find_if(objects.begin(), objects.end(), [thread](const ObjectPtr& object) {
+ return !object->ShouldWait(thread);
+ });
if (itr != objects.end()) {
// We found a ready object, acquire it and set the result value