fixes clang format error in !193

pipelines/1222207774
Crimson-Hawk 2024-03-21 19:36:05 +07:00
parent 3dd0802be6
commit ab3e51e50d
No known key found for this signature in database
GPG Key ID: 82D963563CFDCEA1
1 changed files with 0 additions and 2 deletions

@ -763,11 +763,9 @@ void EmulatedController::StartMotionCalibration() {
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 = Settings::values.players.GetValue()[player_index];
if (index >= controller.button_values.size()) {
return;
}
std::unique_lock lock{mutex};
bool value_changed = false;
const auto new_status = TransformToButton(callback);