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 Jan 28, 2021
1 parent eee77d9 commit 57b9bb9
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 57b9bb9

Please sign in to comment.