mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 00:59:44 -06:00
Improve the SDL/XInput hackery of my last commit. Fixes the device refresh button crash.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5628 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -600,7 +600,8 @@ void GamepadPage::RefreshDevices( wxCommandEvent& event )
|
||||
g_plugin->controls_crit.Enter(); // enter
|
||||
|
||||
// refresh devices
|
||||
g_plugin->controller_interface.DeInit();
|
||||
// TODO: remove hackery of not deinting SDL
|
||||
g_plugin->controller_interface.DeInit(true);
|
||||
g_plugin->controller_interface.Init();
|
||||
|
||||
// update all control references
|
||||
|
Reference in New Issue
Block a user