mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2024-12-23 00:40:58 +01:00
hid/npad: Add missing break in default case
While not an issue, it does prevent fallthrough from occurring if anything is ever added after this case (unlikely to occur, but this turns a trivial "should not cause issues" into a definite "won't cause issues).
This commit is contained in:
parent
26c84718c8
commit
d076466f26
1 changed files with 1 additions and 0 deletions
|
@ -766,6 +766,7 @@ Controller_NPad::NPadControllerType Controller_NPad::DecideBestController(
|
||||||
priority_list.push_back(NPadControllerType::JoyLeft);
|
priority_list.push_back(NPadControllerType::JoyLeft);
|
||||||
priority_list.push_back(NPadControllerType::JoyRight);
|
priority_list.push_back(NPadControllerType::JoyRight);
|
||||||
priority_list.push_back(NPadControllerType::JoyDual);
|
priority_list.push_back(NPadControllerType::JoyDual);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
const auto iter = std::find_if(priority_list.begin(), priority_list.end(),
|
const auto iter = std::find_if(priority_list.begin(), priority_list.end(),
|
||||||
|
|
Loading…
Reference in a new issue