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 Feb 24, 2020
1 parent 4052563 commit b084c86
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 b084c86

Please sign in to comment.