Skip to content

Commit

Permalink
Fix balance board TAS input not showing up
Browse files Browse the repository at this point in the history
Caused by 5477409 changing the name to BalanceBoard, which broke the assumption that the section was named Wiimote5
  • Loading branch information
Pokechu22 committed Dec 7, 2019
1 parent 8fa1202 commit c33d910
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Source/Core/DolphinQt/TAS/WiiTASInputWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ WiiTASInputWindow::WiiTASInputWindow(QWidget* parent, int num) : TASInputWindow(
ext = static_cast<WiimoteEmu::Wiimote*>(Wiimote::GetConfig()->GetController(num))
->GetActiveExtensionNumber();
}
else if (num == WIIMOTE_BALANCE_BOARD)
{
ext = WiimoteEmu::ExtensionNumber::BALANCE_BOARD;
}
else
{
IniFile ini;
Expand All @@ -350,8 +354,6 @@ WiiTASInputWindow::WiiTASInputWindow(QWidget* parent, int num) : TASInputWindow(
ext = WiimoteEmu::ExtensionNumber::NUNCHUK;
if (extension == "Classic")
ext = WiimoteEmu::ExtensionNumber::CLASSIC;
if (extension == "BalanceBoard")
ext = WiimoteEmu::ExtensionNumber::BALANCE_BOARD;
}
UpdateExt(ext);
}
Expand Down

0 comments on commit c33d910

Please sign in to comment.