summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorFog <christhecoolist@gmail.com>2015-07-03 21:54:18 -0400
committerFog <christhecoolist@gmail.com>2015-07-03 21:56:14 -0400
commit10f50f33fbf1c8a45374bf4a6bc1ebb50bd67b9d (patch)
tree6008d77b46aa706f44feba04d59abe23a590e16d /Source/Core
parenta71e81a1435e91e3d807bc5f13b674bc9e6d7ed9 (diff)
Fix random hangs when loading savestates with TAS Input
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/TASInputDlg.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/TASInputDlg.cpp b/Source/Core/DolphinWX/TASInputDlg.cpp
index 40ced03275..0275980fa0 100644
--- a/Source/Core/DolphinWX/TASInputDlg.cpp
+++ b/Source/Core/DolphinWX/TASInputDlg.cpp
@@ -776,8 +776,8 @@ void TASInputDlg::GetValues(GCPadStatus* PadStatus)
PadStatus->stickY = m_main_stick.y_cont.value;
PadStatus->substickX = m_c_stick.x_cont.value;
PadStatus->substickY = m_c_stick.y_cont.value;
- PadStatus->triggerLeft = m_l.checkbox->GetValue() ? 255 : m_l_cont.slider->GetValue();
- PadStatus->triggerRight = m_r.checkbox->GetValue() ? 255 : m_r_cont.slider->GetValue();
+ PadStatus->triggerLeft = m_l.checkbox->GetValue() ? 255 : m_l_cont.value;
+ PadStatus->triggerRight = m_r.checkbox->GetValue() ? 255 : m_r_cont.value;
for (unsigned int i = 0; i < ArraySize(m_buttons); ++i)
{