Skip to content

Commit

Permalink
Fix configuring balance board not working
Browse files Browse the repository at this point in the history
This is a bad fix since it doesn't resolve using the balance board on netplay.
  • Loading branch information
Pokechu22 committed Nov 13, 2022
1 parent c403c42 commit e8ca9c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/DolphinQt/Config/WiimoteControllersWidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,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);
Expand Down

0 comments on commit e8ca9c1

Please sign in to comment.