Fixed metroid window being greyed out

This commit is contained in:
sirmangler 2022-10-02 15:55:00 +01:00
parent 9190dcecf7
commit efb99ebfd2
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@
namespace Config
{
const Info<WiimoteSource> WIIMOTE_1_SOURCE{{System::WiiPad, "Wiimote1", "Source"},
WiimoteSource::Emulated};
WiimoteSource::Metroid};
const Info<WiimoteSource> WIIMOTE_2_SOURCE{{System::WiiPad, "Wiimote2", "Source"},
WiimoteSource::None};
const Info<WiimoteSource> WIIMOTE_3_SOURCE{{System::WiiPad, "Wiimote3", "Source"},

View file

@ -317,7 +317,7 @@ void WiimoteControllersWidget::LoadSettings(Core::State state)
m_wiimote_labels[i]->setEnabled(enable_emu_bt);
m_wiimote_boxes[i]->setEnabled(enable_emu_bt);
const bool is_emu_wiimote = m_wiimote_boxes[i]->currentIndex() == 1;
const bool is_emu_wiimote = m_wiimote_boxes[i]->currentIndex() == 1 || m_wiimote_boxes[i]->currentIndex() == 3;
m_wiimote_buttons[i]->setEnabled(enable_emu_bt && is_emu_wiimote);
}