early-access version 1937

This commit is contained in:
pineappleEA
2021-07-28 05:46:56 +02:00
parent 6ee725cc08
commit 3e7bea9718
4 changed files with 5 additions and 3 deletions

View File

@@ -316,7 +316,8 @@ void Tas::SwapToTasController() {
continue;
}
auto tas_param = Common::ParamPackage{{"pad", static_cast<u8>(index)}};
Common::ParamPackage tas_param;
tas_param.Set("pad", static_cast<u8>(index));
auto button_mapping = GetButtonMappingForDevice(tas_param);
auto analog_mapping = GetAnalogMappingForDevice(tas_param);
auto& buttons = player.buttons;