mirror of
https://github.com/cemu-project/Cemu.git
synced 2024-11-29 04:24:17 +01:00
Set timer milliseconds for "Controller settings" (#194)
This is needed to avoid having the Controller settings window black on Linux
This commit is contained in:
parent
e20bfd00ec
commit
0a1985e481
@ -216,7 +216,7 @@ DefaultControllerSettings::DefaultControllerSettings(wxWindow* parent, const wxP
|
|||||||
|
|
||||||
m_timer = new wxTimer(this);
|
m_timer = new wxTimer(this);
|
||||||
Bind(wxEVT_TIMER, &DefaultControllerSettings::on_timer, this);
|
Bind(wxEVT_TIMER, &DefaultControllerSettings::on_timer, this);
|
||||||
m_timer->Start();
|
m_timer->Start(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
DefaultControllerSettings::~DefaultControllerSettings()
|
DefaultControllerSettings::~DefaultControllerSettings()
|
||||||
|
@ -234,7 +234,7 @@ WiimoteControllerSettings::WiimoteControllerSettings(wxWindow* parent, const wxP
|
|||||||
|
|
||||||
m_timer = new wxTimer(this);
|
m_timer = new wxTimer(this);
|
||||||
Bind(wxEVT_TIMER, &WiimoteControllerSettings::on_timer, this);
|
Bind(wxEVT_TIMER, &WiimoteControllerSettings::on_timer, this);
|
||||||
m_timer->Start();
|
m_timer->Start(100);
|
||||||
}
|
}
|
||||||
|
|
||||||
WiimoteControllerSettings::~WiimoteControllerSettings()
|
WiimoteControllerSettings::~WiimoteControllerSettings()
|
||||||
|
Loading…
Reference in New Issue
Block a user