Sfoglia il codice sorgente

Actually save the input when clearing/resetting to default

Co-Authored-By: xperia64 <xperiancedapps@gmail.com>
FearlessTobi 6 anni fa
parent
commit
aaa4822fcb
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/yuzu/configuration/configure_input_player.cpp

+ 3 - 0
src/yuzu/configuration/configure_input_player.cpp

@@ -480,7 +480,9 @@ void ConfigureInputPlayer::RestoreDefaults() {
             SetAnalogButton(params, analogs_param[analog_id], analog_sub_buttons[sub_button_id]);
         }
     }
+
     UpdateButtonLabels();
+    ApplyConfiguration();
 }
 
 void ConfigureInputPlayer::ClearAll() {
@@ -505,6 +507,7 @@ void ConfigureInputPlayer::ClearAll() {
     }
 
     UpdateButtonLabels();
+    ApplyConfiguration();
 }
 
 void ConfigureInputPlayer::UpdateButtonLabels() {