diff options
author | Subv <subv2112@gmail.com> | 2016-12-10 19:29:31 +0100 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2016-12-10 19:29:31 +0100 |
commit | 406907d57055965780e04769482556995de8c50a (patch) | |
tree | f9e355eccba394047b32160e8f7574a74f46772b /src/core/hle/svc.cpp | |
parent | WaitSynch: Removed unused variables and reduced SharedPtr copies. (diff) | |
download | yuzu-406907d57055965780e04769482556995de8c50a.tar yuzu-406907d57055965780e04769482556995de8c50a.tar.gz yuzu-406907d57055965780e04769482556995de8c50a.tar.bz2 yuzu-406907d57055965780e04769482556995de8c50a.tar.lz yuzu-406907d57055965780e04769482556995de8c50a.tar.xz yuzu-406907d57055965780e04769482556995de8c50a.tar.zst yuzu-406907d57055965780e04769482556995de8c50a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/svc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/svc.cpp b/src/core/hle/svc.cpp index 14da09883..c81c14443 100644 --- a/src/core/hle/svc.cpp +++ b/src/core/hle/svc.cpp @@ -321,7 +321,7 @@ static ResultCode WaitSynchronizationN(s32* out, Handle* handles, s32 handle_cou }); if (all_available) { // We can acquire all objects right now, do so. - for (auto object : objects) + for (auto& object : objects) object->Acquire(); // Note: In this case, the `out` parameter is not set, and retains whatever value it had before. return RESULT_SUCCESS; |