Fix configuring balance board not working

This is a bad fix since it doesn't resolve using the balance board on netplay.
This commit is contained in:
Pokechu22 2022-10-03 17:21:19 -07:00
parent fcccd92e14
commit 854e6bdb8d

View file

@ -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);