From 89af9cd4d5ff0c7611f340296b711eab0a09a665 Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 6 Dec 2019 17:38:04 -0800 Subject: [PATCH] Fix balance board TAS input not showing up Caused by 547740984 changing the name to BalanceBoard, which broke the assumption that the section was named Wiimote5 --- Source/Core/DolphinQt/TAS/WiiTASInputWindow.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Source/Core/DolphinQt/TAS/WiiTASInputWindow.cpp b/Source/Core/DolphinQt/TAS/WiiTASInputWindow.cpp index 331c03595817..639c163dac8c 100644 --- a/Source/Core/DolphinQt/TAS/WiiTASInputWindow.cpp +++ b/Source/Core/DolphinQt/TAS/WiiTASInputWindow.cpp @@ -339,6 +339,10 @@ WiiTASInputWindow::WiiTASInputWindow(QWidget* parent, int num) : TASInputWindow( ext = static_cast(Wiimote::GetConfig()->GetController(num)) ->GetActiveExtensionNumber(); } + else if (num == WIIMOTE_BALANCE_BOARD) + { + ext = WiimoteEmu::ExtensionNumber::BALANCE_BOARD; + } else { IniFile ini; @@ -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); }