summaryrefslogtreecommitdiff
path: root/src/input_common/tas/tas_input.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/input_common/tas/tas_input.cpp')
-rw-r--r--src/input_common/tas/tas_input.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/input_common/tas/tas_input.cpp b/src/input_common/tas/tas_input.cpp
index aceb13adc..877d35088 100644
--- a/src/input_common/tas/tas_input.cpp
+++ b/src/input_common/tas/tas_input.cpp
@@ -14,6 +14,7 @@
14 14
15namespace TasInput { 15namespace TasInput {
16 16
17// Supported keywords and buttons from a TAS file
17constexpr std::array<std::pair<std::string_view, TasButton>, 20> text_to_tas_button = { 18constexpr std::array<std::pair<std::string_view, TasButton>, 20> text_to_tas_button = {
18 std::pair{"KEY_A", TasButton::BUTTON_A}, 19 std::pair{"KEY_A", TasButton::BUTTON_A},
19 {"KEY_B", TasButton::BUTTON_B}, 20 {"KEY_B", TasButton::BUTTON_B},
@@ -214,7 +215,7 @@ void Tas::UpdateThread() {
214 } 215 }
215 } 216 }
216 } else { 217 } else {
217 is_running = Settings::values.tas_loop; 218 is_running = Settings::values.tas_loop.GetValue();
218 current_command = 0; 219 current_command = 0;
219 tas_data.fill({}); 220 tas_data.fill({});
220 if (!is_running) { 221 if (!is_running) {