narr don't look

This commit is contained in:
FearlessTobi
2023-01-20 19:20:41 +01:00
committed by GPUCode
parent dfc359affb
commit a2a1f6c14c
19 changed files with 738 additions and 420 deletions

View File

@ -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();
}