mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 13:18:50 +00:00
Fix crash in tas input.
This commit is contained in:
parent
38b64fd077
commit
e09288aec1
1 changed files with 7 additions and 0 deletions
|
@ -93,6 +93,10 @@ void TASInputDlg::CreateWiiLayout()
|
||||||
Buttons[11] = nullptr; //&C;
|
Buttons[11] = nullptr; //&C;
|
||||||
Buttons[12] = nullptr; //&Z;
|
Buttons[12] = nullptr; //&Z;
|
||||||
|
|
||||||
|
Controls[2] = nullptr;
|
||||||
|
Controls[3] = nullptr;
|
||||||
|
Controls[4] = nullptr;
|
||||||
|
Controls[5] = nullptr;
|
||||||
Controls[6] = &xCont;
|
Controls[6] = &xCont;
|
||||||
Controls[7] = &yCont;
|
Controls[7] = &yCont;
|
||||||
Controls[8] = &zCont;
|
Controls[8] = &zCont;
|
||||||
|
@ -179,6 +183,9 @@ void TASInputDlg::CreateGCLayout()
|
||||||
Controls[3] = &rCont;
|
Controls[3] = &rCont;
|
||||||
Controls[4] = &CStick.xCont;
|
Controls[4] = &CStick.xCont;
|
||||||
Controls[5] = &CStick.yCont;
|
Controls[5] = &CStick.yCont;
|
||||||
|
Controls[6] = nullptr;
|
||||||
|
Controls[7] = nullptr;
|
||||||
|
Controls[8] = nullptr;
|
||||||
|
|
||||||
wxBoxSizer* const top_box = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer* const top_box = new wxBoxSizer(wxHORIZONTAL);
|
||||||
wxBoxSizer* const bottom_box = new wxBoxSizer(wxHORIZONTAL);
|
wxBoxSizer* const bottom_box = new wxBoxSizer(wxHORIZONTAL);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue