summaryrefslogtreecommitdiffstats
path: root/src/core/hle
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-10-18 00:17:39 +0200
committerLioncash <mathew1800@gmail.com>2019-10-18 00:17:42 +0200
commitd076466f26ad7a55ef485d550733fbcfb06b8d6a (patch)
tree95c2878e769e7e522122caae43b55e612abf653a /src/core/hle
parenthid/npad: Replace std::for_each with ranged for loops (diff)
downloadyuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.tar
yuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.tar.gz
yuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.tar.bz2
yuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.tar.lz
yuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.tar.xz
yuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.tar.zst
yuzu-d076466f26ad7a55ef485d550733fbcfb06b8d6a.zip
Diffstat (limited to 'src/core/hle')
-rw-r--r--src/core/hle/service/hid/controllers/npad.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cpp
index 27fc7a79b..64a86021f 100644
--- a/src/core/hle/service/hid/controllers/npad.cpp
+++ b/src/core/hle/service/hid/controllers/npad.cpp
@@ -766,6 +766,7 @@ Controller_NPad::NPadControllerType Controller_NPad::DecideBestController(
priority_list.push_back(NPadControllerType::JoyLeft);
priority_list.push_back(NPadControllerType::JoyRight);
priority_list.push_back(NPadControllerType::JoyDual);
+ break;
}
const auto iter = std::find_if(priority_list.begin(), priority_list.end(),