narr don't look
This commit is contained in:
@ -168,7 +168,7 @@ void EmulatedController::ReloadInput() {
|
||||
}
|
||||
|
||||
void EmulatedController::ReloadFromSettings() {
|
||||
const auto& player = Settings::values.current_input_profile;
|
||||
const auto& player = Settings::values.players.GetValue();
|
||||
for (std::size_t i = 0; i < player.buttons.size(); i++) {
|
||||
button_params[i] = Common::ParamPackage(player.buttons[i]);
|
||||
}
|
||||
@ -183,7 +183,7 @@ void EmulatedController::ReloadFromSettings() {
|
||||
}
|
||||
|
||||
void EmulatedController::SaveCurrentConfig() {
|
||||
auto& player = Settings::values.current_input_profile;
|
||||
auto& player = Settings::values.players.GetValue();
|
||||
for (std::size_t index = 0; index < player.buttons.size(); ++index) {
|
||||
player.buttons[index] = button_params[index].Serialize();
|
||||
}
|
||||
|
Reference in New Issue
Block a user