diff options
| author | Rachel Bryk <RachelBryk@gmail.com> | 2015-03-28 07:39:52 -0400 |
|---|---|---|
| committer | Rachel Bryk <RachelBryk@gmail.com> | 2015-03-28 07:40:21 -0400 |
| commit | 35bdfd5ec9b6c0c71e9abdbfd878ca379c573004 (patch) | |
| tree | 8973248760c1c45e7dbd0c2cc7ddfa7e5e308f54 /Source/Core/DolphinWX/TASInputDlg.cpp | |
| parent | 74f25ad8ecef9315add7983f7c98b182a7771e45 (diff) | |
Fix home button in tas input.
Diffstat (limited to 'Source/Core/DolphinWX/TASInputDlg.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/TASInputDlg.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/TASInputDlg.cpp b/Source/Core/DolphinWX/TASInputDlg.cpp index b7653d9554..8c021b9a52 100644 --- a/Source/Core/DolphinWX/TASInputDlg.cpp +++ b/Source/Core/DolphinWX/TASInputDlg.cpp @@ -407,7 +407,7 @@ void TASInputDlg::SetButtonValue(Button* button, bool CurrentState) void TASInputDlg::SetWiiButtons(u16* butt) { - for (unsigned int i = 0; i < 10; ++i) + for (unsigned int i = 0; i < 11; ++i) { if (m_buttons[i] != nullptr) *butt |= (m_buttons[i]->checkbox->IsChecked()) ? m_wii_buttons_bitmask[i] : 0; @@ -443,7 +443,7 @@ void TASInputDlg::GetKeyBoardInput(u8* data, WiimoteEmu::ReportFeatures rptf, in if (coreData) { - for (unsigned int i = 0; i < 10; ++i) + for (unsigned int i = 0; i < 11; ++i) { if (m_buttons[i] != nullptr) SetButtonValue(m_buttons[i], (((wm_buttons*)coreData)->hex & m_wii_buttons_bitmask[i]) != 0); |
