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 Nov 13, 2020
1 parent 829a94c commit f5a7051
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 @@ -332,6 +332,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 @@ -343,8 +347,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 f5a7051

Please sign in to comment.