mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-16 05:51:41 +00: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:
parent
08636392b6
commit
0af55bd85b
2 changed files with 20 additions and 18 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue