From 854e6bdb8d9756195a73222c0e7a1fda9d0c378d Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Mon, 3 Oct 2022 17:21:19 -0700 Subject: [PATCH] Fix configuring balance board not working This is a bad fix since it doesn't resolve using the balance board on netplay. --- Source/Core/DolphinQt/Config/WiimoteControllersWidget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/DolphinQt/Config/WiimoteControllersWidget.cpp b/Source/Core/DolphinQt/Config/WiimoteControllersWidget.cpp index 790369f8a5..69937bff73 100644 --- a/Source/Core/DolphinQt/Config/WiimoteControllersWidget.cpp +++ b/Source/Core/DolphinQt/Config/WiimoteControllersWidget.cpp @@ -315,7 +315,7 @@ void WiimoteControllersWidget::LoadSettings(Core::State state) for (auto* pt_label : m_wiimote_pt_labels) pt_label->setEnabled(enable_passthrough); - const int num_local_wiimotes = is_netplay ? NetPlay::NumLocalWiimotes() : 4; + const int num_local_wiimotes = is_netplay ? NetPlay::NumLocalWiimotes() : MAX_BBMOTES; for (size_t i = 0; i < m_wiimote_groups.size(); i++) { m_wiimote_labels[i]->setEnabled(enable_emu_bt);