diff options
author | Lioncash <mathew1800@gmail.com> | 2020-08-29 22:43:06 +0200 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2020-08-29 22:43:12 +0200 |
commit | 92c162126b011f7adcb064e2c74c7ec1bf51e22c (patch) | |
tree | 936056e7f71c883bd22b63d1db526866b8115873 | |
parent | Merge pull request #4600 from lioncash/prototype (diff) | |
download | yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.tar yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.tar.gz yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.tar.bz2 yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.tar.lz yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.tar.xz yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.tar.zst yuzu-92c162126b011f7adcb064e2c74c7ec1bf51e22c.zip |
-rw-r--r-- | src/yuzu/configuration/configure_input_player.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/yuzu/configuration/configure_input_player.cpp b/src/yuzu/configuration/configure_input_player.cpp index 80bf40acb..4e11796a7 100644 --- a/src/yuzu/configuration/configure_input_player.cpp +++ b/src/yuzu/configuration/configure_input_player.cpp @@ -646,10 +646,10 @@ void ConfigureInputPlayer::UpdateMappingWithDefaults() { const auto& device = input_devices[ui->comboDevices->currentIndex()]; auto button_mapping = input_subsystem->GetButtonMappingForDevice(device); auto analog_mapping = input_subsystem->GetAnalogMappingForDevice(device); - for (int i = 0; i < buttons_param.size(); ++i) { + for (std::size_t i = 0; i < buttons_param.size(); ++i) { buttons_param[i] = button_mapping[static_cast<Settings::NativeButton::Values>(i)]; } - for (int i = 0; i < analogs_param.size(); ++i) { + for (std::size_t i = 0; i < analogs_param.size(); ++i) { analogs_param[i] = analog_mapping[static_cast<Settings::NativeAnalog::Values>(i)]; } |