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 Jul 24, 2020
1 parent 8836293 commit d5949d4
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 @@ -337,6 +337,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 @@ -348,8 +352,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 d5949d4

Please sign in to comment.