Skip to content

Commit

Permalink
Merge pull request #2696 from RisingFog/tasinput
Browse files Browse the repository at this point in the history
Fix random hangs when loading savestates with TAS Input
  • Loading branch information
lioncash committed Jul 4, 2015
2 parents ced3089 + 10f50f3 commit eb3c5a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Core/DolphinWX/TASInputDlg.cpp
Expand Up @@ -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)
{
Expand Down

0 comments on commit eb3c5a2

Please sign in to comment.