mirror of
https://github.com/Kekun/primehack.git
synced 2024-06-02 03:57:30 -04:00
Fixed metroid window being greyed out
This commit is contained in:
parent
9190dcecf7
commit
efb99ebfd2
|
@ -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"},
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue