diff options
| author | 2021-12-13 16:50:54 -0800 | |
|---|---|---|
| committer | 2021-12-13 16:50:54 -0800 | |
| commit | ad45963b459d07d04e78f86d3316d7494730e9f9 (patch) | |
| tree | a2e70a6ffad04ec840e4ff3cd581d7a4ec5853fa /src/input_common/drivers/tas_input.cpp | |
| parent | Merge pull request #7576 from lioncash/tasenum (diff) | |
| parent | input_engine: Fix typo in TriggerOnAxisChange() parameter name (diff) | |
| download | yuzu-ad45963b459d07d04e78f86d3316d7494730e9f9.tar.gz yuzu-ad45963b459d07d04e78f86d3316d7494730e9f9.tar.xz yuzu-ad45963b459d07d04e78f86d3316d7494730e9f9.zip | |
Merge pull request #7575 from lioncash/input
input_engine: Minor object churn cleanup
Diffstat (limited to 'src/input_common/drivers/tas_input.cpp')
| -rw-r--r-- | src/input_common/drivers/tas_input.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/input_common/drivers/tas_input.cpp b/src/input_common/drivers/tas_input.cpp index 2094c1feb..5bdd5dac3 100644 --- a/src/input_common/drivers/tas_input.cpp +++ b/src/input_common/drivers/tas_input.cpp | |||
| @@ -46,7 +46,7 @@ constexpr std::array<std::pair<std::string_view, TasButton>, 20> text_to_tas_but | |||
| 46 | {"KEY_ZR", TasButton::TRIGGER_ZR}, | 46 | {"KEY_ZR", TasButton::TRIGGER_ZR}, |
| 47 | }; | 47 | }; |
| 48 | 48 | ||
| 49 | Tas::Tas(const std::string& input_engine_) : InputCommon::InputEngine(input_engine_) { | 49 | Tas::Tas(std::string input_engine_) : InputEngine(std::move(input_engine_)) { |
| 50 | for (size_t player_index = 0; player_index < PLAYER_NUMBER; player_index++) { | 50 | for (size_t player_index = 0; player_index < PLAYER_NUMBER; player_index++) { |
| 51 | PadIdentifier identifier{ | 51 | PadIdentifier identifier{ |
| 52 | .guid = Common::UUID{}, | 52 | .guid = Common::UUID{}, |