mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
Merge pull request #1278 from lioncash/controller
ControllerInterface: Get rid of SetHwnd(), introduce Reinitialize()
This commit is contained in:
@ -745,8 +745,7 @@ void GamepadPage::RefreshDevices(wxCommandEvent&)
|
||||
std::lock_guard<std::recursive_mutex> lk(m_config.controls_lock);
|
||||
|
||||
// refresh devices
|
||||
g_controller_interface.Shutdown();
|
||||
g_controller_interface.Initialize();
|
||||
g_controller_interface.Reinitialize();
|
||||
|
||||
// update all control references
|
||||
m_config_dialog->UpdateControlReferences();
|
||||
|
Reference in New Issue
Block a user