diff options
| author | Lioncash <mathew1800@gmail.com> | 2014-10-13 12:45:47 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2014-10-15 09:29:25 -0400 |
| commit | b7b2074cc2e78bb13160372ee82be7f85d0e3772 (patch) | |
| tree | c5760301847ada1d17a10bfe01ec638d758d8388 /Source/Core/DolphinWX/InputConfigDiag.cpp | |
| parent | 89123155960021d4a026f98a8fb6c1ca3a03a630 (diff) | |
ControllerInterface: Get rid of SetHwnd(), introduce Reinitialize()
Initialize now just takes the handle directly. Reinitialize is added because it is much more straightforward in comparison to doing the Shutdown-Initialize manually.
Diffstat (limited to 'Source/Core/DolphinWX/InputConfigDiag.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/InputConfigDiag.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/DolphinWX/InputConfigDiag.cpp b/Source/Core/DolphinWX/InputConfigDiag.cpp index 01a3c5e90d..72b33077bb 100644 --- a/Source/Core/DolphinWX/InputConfigDiag.cpp +++ b/Source/Core/DolphinWX/InputConfigDiag.cpp @@ -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(); |
