Skip to content
Snippets Groups Projects
Unverified Commit b6ad0904 authored by Crimson-Hawk's avatar Crimson-Hawk
Browse files

try to fix clang again

parent ab3e51e5
No related branches found
No related tags found
No related merge requests found
...@@ -760,10 +760,11 @@ void EmulatedController::StartMotionCalibration() { ...@@ -760,10 +760,11 @@ void EmulatedController::StartMotionCalibration() {
} }
} }
void EmulatedController::SetButton(const Common::Input::CallbackStatus& callback, std::size_t index, Common::UUID uuid) { void EmulatedController::SetButton(const Common::Input::CallbackStatus& callback, std::size_t index,
Common::UUID uuid) {
const auto player_index = Service::HID::NpadIdTypeToIndex(npad_id_type); const auto player_index = Service::HID::NpadIdTypeToIndex(npad_id_type);
const auto& player = Settings::values.players.GetValue()[player_index]; const auto& player = Settings::values.players.GetValue()[player_index];
if (index >= controller.button_values.size()) { if (index >= controller.button_values.size()) {
return; return;
} }
std::unique_lock lock{mutex}; std::unique_lock lock{mutex};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment